2011-04-27 10:05:43 +00:00
|
|
|
#
|
2013-07-09 14:07:07 +00:00
|
|
|
# Qmake configuration for the GNU C++ compiler on OS X
|
2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# Before making changes to this file, please read the comment in
|
|
|
|
# gcc-base.conf, to make sure the change goes in the right place.
|
|
|
|
#
|
|
|
|
# To verify that your change has the desired effect on the final configuration
|
|
|
|
# you can use the manual test in tests/manual/mkspecs.
|
|
|
|
#
|
|
|
|
|
|
|
|
include(g++-base.conf)
|
|
|
|
|
2012-05-11 08:03:49 +00:00
|
|
|
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -gdwarf-2
|
|
|
|
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -gdwarf-2
|
|
|
|
QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO += -g -gdwarf-2
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMAKE_LFLAGS_STATIC_LIB += -all_load
|
|
|
|
|
2013-06-13 12:26:48 +00:00
|
|
|
QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvmgcc42
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_OBJCFLAGS_PRECOMPILE = -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
|
|
|
|
QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
|
|
|
|
QMAKE_OBJCXXFLAGS_PRECOMPILE = -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
|
|
|
|
QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
|