igc.pro
changeset 31 8a78deb099db
parent 29 830a0d1d9d7f
child 32 ec55981d8419
--- a/igc.pro	Sun Jan 29 10:52:57 2012 +0100
+++ b/igc.pro	Sun Jan 29 12:18:43 2012 +0100
@@ -2,19 +2,31 @@
 # Automatically generated by qmake (2.01a) Sat Jan 21 23:39:20 2012
 ######################################################################
 
-CONFIG += debug precompile_header \
-	  qwt
+VERSION = 0.1.0
+
+CONFIG += debug_and_release precompile_header qwt 
+
 QT += webkit network
 QMAKE_EXTRA_TARGETS += doxy doc
 
 TEMPLATE = app
-TARGET = 
+
 DEPENDPATH += .
 INCLUDEPATH += .
 
-UI_DIR = .build/
-OBJECTS_DIR = .build/
-MOC_DIR = .build/
+# dirs for output and target
+UI_DIR = .build.ui/
+MOC_DIR = .build.moc/
+
+CONFIG(debug, debug|release) : {
+    TARGET = $$join(TARGET,,,-debug)
+    OBJECTS_DIR = .build-debug.o/
+}
+
+CONFIG(release, debug|release) : {
+    TARGET = $$TARGET
+    OBJECTS_DIR = .build-release.o/
+}
 
 TRANSLATIONS = i18n/igc.de_DE.ts
 CODECFORTR = UTF-8