From 6a6af694205eb9a55b18eb10f2290a9747019388 Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 27 Aug 2003 12:24:03 +0000 Subject: If you add quick-app to the CONFIG options it'll use the global quick app setting to either be a lib or normal executable --- (limited to 'include.pro') diff --git a/include.pro b/include.pro index 3ba8776..c70c4d5 100644 --- a/include.pro +++ b/include.pro @@ -1,8 +1,23 @@ +include ( $(OPIEDIR)/gen.pro ) + # make install # base opie install path prefix = /opt/QtPalmtop + +contains( CONFIG, quick-app-lib ) { + TEMPLATE = lib + DESTDIR = $(OPIEDIR)/plugins/applications + DEFINES += OPIE_APP_INTERFACE +} +contains ( CONFIG, quick-app-bin ) { + TEMPLATE = app + DESTDIR = $(OPIEDIR)/bin + DEFINES -= OPIE_APP_INTERFACE +} + + contains( TEMPLATE, lib ) { target.path = $$prefix/lib } @@ -77,4 +92,5 @@ QMAKE_LIBDIR += $(OPIEDIR)/lib MOC_DIR=.moc/$(PLATFORM) OBJECTS_DIR=.obj/$(PLATFORM) -include ( $(OPIEDIR)/gen.pro ) +#was here now at thetop +#include ( $(OPIEDIR)/gen.pro ) -- cgit v0.9.0.2