mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
Tests: Drop CMAKE_TEST_MSVC and test MSVC directly
Now that we no longer support running tests using a different generator we can trust the MSVC platform indicator directly.
This commit is contained in:
@@ -1497,12 +1497,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
||||
endif ()
|
||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/SubDir")
|
||||
|
||||
if(CMAKE_TEST_MSVC)
|
||||
if(MSVC)
|
||||
ADD_TEST_MACRO(ForceInclude foo)
|
||||
ADD_TEST_MACRO(PDBDirectoryAndName myexe)
|
||||
ADD_TEST_MACRO(PrecompiledHeader foo)
|
||||
endif()
|
||||
if(CMAKE_TEST_MSVC OR
|
||||
if(MSVC OR
|
||||
"${CMAKE_TEST_GENERATOR}" MATCHES "(MSYS|MinGW) Makefiles")
|
||||
ADD_TEST_MACRO(ModuleDefinition example_exe)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user