author | kergoth <kergoth> | 2003-05-13 20:03:14 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-05-13 20:03:14 (UTC) |
commit | 2c26bb12add88b531ef49f725d0c48f421cb4d83 (patch) (side-by-side diff) | |
tree | 5d29b6f022eba93fea101745f3711a15ed464f14 /core/pim/today/today.pro | |
parent | 4dd58bba07b8bf3a52c3a0464675c39cc5153c85 (diff) | |
download | opie-2c26bb12add88b531ef49f725d0c48f421cb4d83.zip opie-2c26bb12add88b531ef49f725d0c48f421cb4d83.tar.gz opie-2c26bb12add88b531ef49f725d0c48f421cb4d83.tar.bz2 |
Example of the use of new plugin interface, disabled by default.
-rw-r--r-- | core/pim/today/today.pro | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/core/pim/today/today.pro b/core/pim/today/today.pro index f93b5bf..218cab8 100644 --- a/core/pim/today/today.pro +++ b/core/pim/today/today.pro @@ -1,6 +1,6 @@ -TEMPLATE = app CONFIG = qt warn_on #CONFIG = qt warn_on release + HEADERS = today.h todaybase.h todayconfig.h -SOURCES = main.cpp today.cpp todaybase.cpp todayconfig.cpp +SOURCES = today.cpp todaybase.cpp todayconfig.cpp INCLUDEPATH += $(OPIEDIR)/include @@ -10,3 +10,2 @@ INTERFACES = TARGET = today -DESTDIR = $(OPIEDIR)/bin @@ -31,4 +30,17 @@ TRANSLATIONS = ../../../i18n/de/today.ts \ +include ( $(OPIEDIR)/include.pro ) +oapp { + TEMPLATE = lib + SOURCES += plugin.cpp + LIBS += -loapp -include ( $(OPIEDIR)/include.pro ) + DESTDIR = $(OPIEDIR)/plugins/app + INCLUDEPATH += $(OPIEDIR)/core/apps/oapp + DEPENDPATH += $(OPIEDIR)/core/apps/oapp +} +else { + TEMPLATE = app + SOURCES += main.cpp + DESTDIR = $(OPIEDIR)/bin +} |