diff -r e3a32a79a10a -r 4355e72ffd47 ldforge.pro --- a/ldforge.pro Wed Sep 25 11:02:44 2013 +0300 +++ b/ldforge.pro Wed Oct 23 12:46:10 2013 +0300 @@ -12,7 +12,6 @@ RC_FILE = ldforge.rc RESOURCES = ldforge.qrc RCC_DIR = ./build/ -OBJECTS_DIR = ./build/ MOC_DIR = ./build/ RCC_DIR = ./build/ UI_DIR = ./build/ @@ -21,7 +20,18 @@ FORMS = ui/*.ui QT += opengl network QMAKE_CXXFLAGS += -std=c++0x +CONFIG += debug_and_release + +CONFIG (debug, debug|release) { + TARGET = ldforge_debug + DEFINES += DEBUG + OBJECTS_DIR = ./build_debug/ +} else { + TARGET = ldforge + DEFINES += RELEASE + OBJECTS_DIR = ./build_release/ +} unix { LIBS += -lGLU -} \ No newline at end of file +}