2015-07-17 21:46:05 +00:00
|
|
|
SOURCES = avx512.cpp
|
|
|
|
|
2015-11-16 22:56:07 +00:00
|
|
|
!defined(AVX512, "var"): error("You must set the AVX512 variable!")
|
2015-07-17 21:46:05 +00:00
|
|
|
|
|
|
|
varname = QMAKE_CFLAGS_AVX512$$AVX512
|
|
|
|
value = $$eval($$varname)
|
2015-11-16 22:56:07 +00:00
|
|
|
!defined($$varname, "var"): error("This compiler does not support AVX512")
|
2015-07-17 21:46:05 +00:00
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += $$value
|
2017-11-15 23:14:35 +00:00
|
|
|
DEFINES += WANT_AVX512=$$AVX512 WANT_AVX512$$AVX512
|