From c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 19 Apr 2017 15:00:57 -0400 Subject: Drop Visual Studio 7 .NET 2003 generator This generator has been deprecated since CMake 3.6. Remove it. --- Modules/CTest.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Modules/CTest.cmake') diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake index 7aeb5bedb5..9370596a89 100644 --- a/Modules/CTest.cmake +++ b/Modules/CTest.cmake @@ -54,15 +54,11 @@ in the ``CTestConfig.cmake`` file. option(BUILD_TESTING "Build the testing tree." ON) # function to turn generator name into a version string -# like vs7 vs71 vs8 vs9 +# like vs8 vs9 function(GET_VS_VERSION_STRING generator var) string(REGEX REPLACE "Visual Studio ([0-9][0-9]?)($|.*)" "\\1" NUMBER "${generator}") - if("${generator}" MATCHES "Visual Studio 7 .NET 2003") - set(ver_string "vs71") - else() set(ver_string "vs${NUMBER}") - endif() set(${var} ${ver_string} PARENT_SCOPE) endfunction() -- cgit v1.2.1