зеркало из https://github.com/microsoft/DirectXTK.git
CMake update for version 3.20 (#343)
This commit is contained in:
Родитель
cd97e0e07e
Коммит
a9cdc6f543
|
@ -402,3 +402,10 @@ endif()
|
|||
if(BUILD_TOOLS AND (NOT WINDOWS_STORE))
|
||||
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT xwbtool)
|
||||
endif()
|
||||
|
||||
#--- Test suite
|
||||
include(CTest)
|
||||
if(BUILD_TESTING AND WIN32 AND (NOT WINDOWS_STORE) AND (EXISTS "${CMAKE_CURRENT_LIST_DIR}/Tests/CMakeLists.txt"))
|
||||
enable_testing()
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/Tests)
|
||||
endif()
|
||||
|
|
|
@ -213,5 +213,20 @@
|
|||
{ "name": "x64-Release-MinGW", "description": "MinG-W64 (Release)", "inherits": [ "base", "x64", "Release", "GNUC", "VCPKG", "MinGW64", "Win7" ] },
|
||||
{ "name": "x86-Debug-MinGW" , "description": "MinG-W32 (Debug)", "inherits": [ "base", "x86", "Debug", "GNUC", "VCPKG", "MinGW32", "Win7" ] },
|
||||
{ "name": "x86-Release-MinGW", "description": "MinG-W32 (Release)", "inherits": [ "base", "x86", "Release", "GNUC", "VCPKG", "MinGW32", "Win7" ] }
|
||||
],
|
||||
"testPresets": [
|
||||
{ "name": "x64-Debug" , "configurePreset": "x64-Debug" },
|
||||
{ "name": "x64-Release" , "configurePreset": "x64-Release" },
|
||||
{ "name": "x86-Debug" , "configurePreset": "x86-Debug" },
|
||||
{ "name": "x86-Release" , "configurePreset": "x86-Release" },
|
||||
{ "name": "arm64-Debug" , "configurePreset": "arm64-Debug-Win10" },
|
||||
{ "name": "arm64-Release", "configurePreset": "arm64-Release-Win10" },
|
||||
|
||||
{ "name": "x64-Debug-Clang" , "configurePreset": "x64-Debug-Clang" },
|
||||
{ "name": "x64-Release-Clang" , "configurePreset": "x64-Release-Clang" },
|
||||
{ "name": "x86-Debug-Clang" , "configurePreset": "x86-Debug-Clang" },
|
||||
{ "name": "x86-Release-Clang" , "configurePreset": "x86-Release-Clang" },
|
||||
{ "name": "arm64-Debug-Clang" , "configurePreset": "arm64-Debug-Win10-Clang" },
|
||||
{ "name": "arm64-Release-Clang", "configurePreset": "arm64-Release-Win10-Clang" }
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче