summaryrefslogtreecommitdiff
path: root/libopie
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-04-23 20:27:28 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-04-23 20:27:28 +0000
commiteea255b6c9aa81ce169c992e12db73dbcc08b5b7 (patch)
treec0dc53c7e18f6c03491f22e452b2649c023fbe4e /libopie
parent69079013455c574f1a5abb3dc470f7d80f2f349c (diff)
fix include.pro and let opie-textedit make use of the new,
slightly more powerful opie.oeclass BKrev: 40897c30rOKjbTTWOVIpQtXnS539Ug
Diffstat (limited to 'libopie')
-rw-r--r--libopie/libopie2/include.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/libopie/libopie2/include.pro b/libopie/libopie2/include.pro
index e69de29bb2..3fca1f7948 100644
--- a/libopie/libopie2/include.pro
+++ b/libopie/libopie2/include.pro
@@ -0,0 +1,20 @@
+# we don't want to modify subdir .pro's
+!contains( TEMPLATE, subdirs ) {
+# if it's already a lib, we ignore it
+!contains( TEMPLATE, lib ) {
+
+ contains( CONFIG, quick-app ) {
+ message ( Building a quicklaunch application )
+ TEMPLATE = lib
+ CONFIG += plugin
+ DEFINES += OPIE_APP_INTERFACE
+ }
+
+ !contains ( CONFIG, quick-app ) {
+ message( Building a standalone application )
+ TEMPLATE = app
+ DEFINES -= OPIE_APP_INTERFACE
+ }
+}
+}
+