summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/llvm.conf
blob: 86e0ab440f7c91db13df2d3cc940a8e39c0be1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Qmake configuration for LLVM on Linux and Mac
#

QMAKE_CC  = llvm-gcc
QMAKE_CXX = llvm-g++

QMAKE_LINK       = $$QMAKE_CXX
QMAKE_LINK_SHLIB = $$QMAKE_CXX

QMAKE_PCH_OUTPUT_EXT = .gch

QMAKE_CFLAGS_PRECOMPILE       = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
QMAKE_CFLAGS_USE_PRECOMPILE   = -include ${QMAKE_PCH_OUTPUT_BASE}
QMAKE_CXXFLAGS_PRECOMPILE     = -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE