CMake: Remove WinRT leftovers from build system
Qt's WinRT support was removed long time ago. Change-Id: I60b220e970072c3450e3793862d6f68801d2b5b3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
9b320edb53
commit
bdaab71c68
@ -73,18 +73,6 @@ if(GCC OR CLANG)
|
||||
set(QT_CFLAGS_MIPS_DSPR2 "-mdspr2")
|
||||
endif()
|
||||
|
||||
if (winrt) # FIXME: Correct variable
|
||||
set(QT_CFLAGS_SSE2 "-arch:SSE2")
|
||||
set(QT_CFLAGS_SSE3 "-arch:SSE2")
|
||||
set(QT_CFLAGS_SSSE3 "-arch:SSE2")
|
||||
set(QT_CFLAGS_SSE4_1 "-arch:SSE2")
|
||||
set(QT_CFLAGS_SSE4_2 "-arch:SSE2")
|
||||
set(QT_CFLAGS_AVX "-arch:AVX")
|
||||
set(QT_CFLAGS_AVX2 "-arch:AVX")
|
||||
set(QT_CFLAGS_AESNI "-arch:SSE2")
|
||||
set(QT_CFLAGS_SHANI "-arch:SSE2")
|
||||
endif()
|
||||
|
||||
# Fall through is important, so that more specific flags that might be missing are set by the
|
||||
# previous base cases.
|
||||
# This mirrors qmake's mkspecs QMAKE_CFLAGS_OPTIMIZE assignments (mostly).
|
||||
|
@ -21,8 +21,6 @@ qt_set01(SOLARIS CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
||||
|
||||
qt_set01(BSD APPLE OR OPENBSD OR FREEBSD OR NETBSD)
|
||||
|
||||
qt_set01(WINRT WIN32 AND CMAKE_VS_PLATFORM_TOOSLET STREQUAL "winrt") # FIXME: How to identify this?
|
||||
|
||||
qt_set01(IOS APPLE AND CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
||||
qt_set01(TVOS APPLE AND CMAKE_SYSTEM_NAME STREQUAL "tvOS")
|
||||
qt_set01(WATCHOS APPLE AND CMAKE_SYSTEM_NAME STREQUAL "watchOS")
|
||||
|
@ -349,7 +349,7 @@ function(qt_internal_add_test name)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ANDROID OR IOS OR WINRT)
|
||||
if(ANDROID OR IOS)
|
||||
set(builtin_testdata TRUE)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user