Revision 2eb54f9d GazeTkHub/common.pri
GazeTkHub/common.pri | ||
---|---|---|
1 | 1 |
#Includes common configuration for all subdirectory .pro files. |
2 |
INCLUDEPATH += . .. |
|
2 |
INCLUDEPATH += . .. ../../include
|
|
3 | 3 |
WARNINGS += -Wall |
4 | 4 |
|
5 | 5 |
TEMPLATE = lib |
6 | 6 |
|
7 |
debug_and_release:build_pass { |
|
8 |
CONFIG(debug, debug|release) { |
|
9 |
CURBUILD = debug |
|
10 |
} else { |
|
11 |
CURBUILD = release |
|
12 |
} |
|
13 |
|
|
14 |
GAZETK_TARGET = $(GAZETK_HOME) |
|
15 |
isEmpty(GAZETK_TARGET) { |
|
16 |
DESTDIR = $${top_builddir}/$${CURBUILD} |
|
17 |
} else { |
|
18 |
DESTDIR = $${GAZETK_TARGET}/$${CURBUILD} |
|
19 |
} |
|
20 |
|
|
21 |
OBJECTS_DIR = $${top_builddir}/$${CURBUILD}/$dirname($${_PRO_FILE_PWD_}) |
|
22 |
|
|
23 |
MOC_DIR = $${OBJECTS_DIR} |
|
24 |
UI_DIR = $${OBJECTS_DIR} |
|
25 |
RCC_DIR = $${OBJECTS_DIR} |
|
26 |
INCLUDEPATH += $${OBJECTS_DIR} |
|
27 |
LIBS += -L$${DESTDIR}/bin -L$${DESTDIR}/lib |
|
28 |
unset(CURBUILD) |
|
29 |
} |
|
30 |
|
|
7 | 31 |
# The following keeps the generated files at least somewhat separate |
8 | 32 |
# from the source files. |
9 | 33 |
UI_DIR = uics |
10 | 34 |
MOC_DIR = mocs |
11 | 35 |
OBJECTS_DIR = objs |
36 |
|
Also available in: Unified diff