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

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

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