# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1327835923 -3600 # Node ID 8a78deb099db8e6e02aab5ad1e76c8d32964aef2 # Parent 00268973aae0be6bdbf9739fa0c8893f7bf962d6 debug and release build is possible now on diff -r 00268973aae0 -r 8a78deb099db .hgignore --- a/.hgignore Sun Jan 29 10:52:57 2012 +0100 +++ b/.hgignore Sun Jan 29 12:18:43 2012 +0100 @@ -1,5 +1,6 @@ syntax:glob -.build/* -Makefile -igc +.build-*/ +.build.{moc,ui}/ +Makefile{,.Debug,.Release} +igc{,-debug} i18n/igc.de_DE.qm diff -r 00268973aae0 -r 8a78deb099db igc.pro --- 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