1 | # |
---|
2 | # Qmake configuration for the GNU C++ compiler |
---|
3 | # |
---|
4 | # Before making changes to this file, please read the comment in |
---|
5 | # gcc-base.conf, to make sure the change goes in the right place. |
---|
6 | # |
---|
7 | # To verify that your change has the desired effect on the final configuration |
---|
8 | # you can use the manual test in tests/manual/mkspecs. |
---|
9 | # |
---|
10 | |
---|
11 | QMAKE_CC = /usr/bin/clang |
---|
12 | |
---|
13 | QMAKE_LINK_C = $$QMAKE_CC |
---|
14 | QMAKE_LINK_C_SHLIB = $$QMAKE_CC |
---|
15 | |
---|
16 | QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g |
---|
17 | |
---|
18 | QMAKE_CXX = /usr/bin/clang++ |
---|
19 | |
---|
20 | QMAKE_LINK = $$QMAKE_CXX |
---|
21 | QMAKE_LINK_SHLIB = $$QMAKE_CXX |
---|
22 | |
---|
23 | QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO |
---|
24 | |
---|
25 | QMAKE_PCH_OUTPUT_EXT = .gch |
---|
26 | |
---|
27 | QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} |
---|
28 | QMAKE_CFLAGS_USE_PRECOMPILE = -include ${QMAKE_PCH_OUTPUT_BASE} |
---|
29 | QMAKE_CXXFLAGS_PRECOMPILE = -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} |
---|
30 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE |
---|