10 DEPENDPATH += . |
10 DEPENDPATH += . |
11 INCLUDEPATH += . ./build/ |
11 INCLUDEPATH += . ./build/ |
12 RC_FILE = ldforge.rc |
12 RC_FILE = ldforge.rc |
13 RESOURCES = ldforge.qrc |
13 RESOURCES = ldforge.qrc |
14 RCC_DIR = ./build/ |
14 RCC_DIR = ./build/ |
15 OBJECTS_DIR = ./build/ |
|
16 MOC_DIR = ./build/ |
15 MOC_DIR = ./build/ |
17 RCC_DIR = ./build/ |
16 RCC_DIR = ./build/ |
18 UI_DIR = ./build/ |
17 UI_DIR = ./build/ |
19 SOURCES = src/*.cpp |
18 SOURCES = src/*.cpp |
20 HEADERS = src/*.h |
19 HEADERS = src/*.h |
21 FORMS = ui/*.ui |
20 FORMS = ui/*.ui |
22 QT += opengl network |
21 QT += opengl network |
23 QMAKE_CXXFLAGS += -std=c++0x |
22 QMAKE_CXXFLAGS += -std=c++0x |
|
23 CONFIG += debug_and_release |
|
24 |
|
25 CONFIG (debug, debug|release) { |
|
26 TARGET = ldforge_debug |
|
27 DEFINES += DEBUG |
|
28 OBJECTS_DIR = ./build_debug/ |
|
29 } else { |
|
30 TARGET = ldforge |
|
31 DEFINES += RELEASE |
|
32 OBJECTS_DIR = ./build_release/ |
|
33 } |
24 |
34 |
25 unix { |
35 unix { |
26 LIBS += -lGLU |
36 LIBS += -lGLU |
27 } |
37 } |