mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
Tests/Preprocess: Remove unnecessary VS version tests
Since commit v2.8.12~436^2 (VS 10: Escape ; as %3B in preprocessor definitions, 2013-04-11) the Tests/Preprocessor/CMakeLists.txt file no longer uses the PP_VS1XX values, so stop setting them.
This commit is contained in:
@@ -34,15 +34,6 @@ endif()
|
||||
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio")
|
||||
set(PP_VS 1)
|
||||
endif()
|
||||
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio 10")
|
||||
set(PP_VS100 1)
|
||||
endif()
|
||||
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio 11")
|
||||
set(PP_VS110 1)
|
||||
endif()
|
||||
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio 12")
|
||||
set(PP_VS120 1)
|
||||
endif()
|
||||
|
||||
# Some tests below check the PP_* variables set above. They are meant
|
||||
# to test the case that the build tool is at fault. Other tests below
|
||||
|
||||
Reference in New Issue
Block a user