qt5base-lts/mkspecs/win32-clang-g++/qmake.conf
Martin Storsjö e83ce91c6a mkspecs: Factorize common parts of win32-g++ and win32-clang-g++
Change-Id: I49dc036aedb4290889bce8ef616b4f7291e79d4f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-02-21 18:08:01 +00:00

28 lines
758 B
Plaintext

#
# qmake configuration for win32-clang-g++
#
# Written for MinGW-w64 / clang 6.0 or higher
#
# Cross compile example for x86_64-w64-mingw32-clang++:
# configure -xplatform win32-clang-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32-
#
include(../common/g++-win32.conf)
# modifications to g++-win32.conf
QMAKE_COMPILER += clang llvm # clang pretends to be gcc
QMAKE_CC = $${CROSS_COMPILE}clang
QMAKE_CFLAGS +=
QMAKE_CFLAGS_WARN_ON += -Wextra -Wno-ignored-attributes
QMAKE_CXX = $${CROSS_COMPILE}clang++
QMAKE_CXXFLAGS +=
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
QMAKE_LINK = $${CROSS_COMPILE}clang++
QMAKE_LINK_C = $${CROSS_COMPILE}clang
load(qt_config)