2011-04-27 10:05:43 +00:00
|
|
|
#
|
2013-07-09 14:07:07 +00:00
|
|
|
# Qmake configuration for LLVM on Linux, OS X and iOS
|
2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_COMPILER = gcc llvm
|
2012-09-13 20:17:33 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CC = llvm-gcc
|
|
|
|
QMAKE_CXX = llvm-g++
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LINK = $$QMAKE_CXX
|
|
|
|
QMAKE_LINK_SHLIB = $$QMAKE_CXX
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_PCH_OUTPUT_EXT = .gch
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
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}
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
|