diff options
author | Brad King <brad.king@kitware.com> | 2017-04-19 19:00:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-19 19:28:05 (GMT) |
commit | c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4 (patch) | |
tree | 7087008dbb8b39de46c2fe4476e352d4794ea15d /Modules/CTest.cmake | |
parent | a4452fd82df79c579ab3996e3c56c59964bf69ea (diff) | |
download | CMake-c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4.zip CMake-c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4.tar.gz CMake-c94f1bcf92bf5de100a1513cf1dd7f4eaf0122d4.tar.bz2 |
Drop Visual Studio 7 .NET 2003 generator
This generator has been deprecated since CMake 3.6. Remove it.
Diffstat (limited to 'Modules/CTest.cmake')
-rw-r--r-- | Modules/CTest.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake index 7aeb5be..9370596 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() |