mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-27 14:38:28 +08:00
12 lines
296 B
Prolog
12 lines
296 B
Prolog
|
SOURCES = main.cpp
|
||
|
for (config, SIMD) {
|
||
|
uc = $$upper($$config)
|
||
|
DEFINES += QT_COMPILER_SUPPORTS_$${uc}
|
||
|
|
||
|
add_cflags {
|
||
|
cflags = QMAKE_CFLAGS_$${uc}
|
||
|
!defined($$cflags, var): error("This compiler does not support $${uc}")
|
||
|
QMAKE_CXXFLAGS += $$eval($$cflags)
|
||
|
}
|
||
|
}
|