diff options
Diffstat (limited to 'libopie/libopie2')
-rw-r--r-- | libopie/libopie2/include.pro | 20 |
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 + } +} +} + |