2012-02-14 09:01:17 +00:00
|
|
|
CONFIG -= qt debug_and_release
|
|
|
|
# Detect target by preprocessing a file that uses Q_PROCESSOR_* macros from qprocessordetection.h
|
|
|
|
COMMAND = $$QMAKE_CXX $$QMAKE_CXXFLAGS -E $$PWD/arch.cpp
|
2012-03-21 04:01:20 +00:00
|
|
|
# system function converts newline in output into spaces
|
|
|
|
COMPILER_ARCH = $$system($$COMMAND)
|
2012-02-14 09:01:17 +00:00
|
|
|
# Message back to configure so that it can set QT_ARCH and QT_HOST_ARCH
|
|
|
|
message($$COMPILER_ARCH)
|