diff options
author | Brad King <brad.king@kitware.com> | 2015-04-15 13:20:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-15 13:21:24 (GMT) |
commit | 7b8e7c4ac3885b9a58ce1c238b045d5580f83c27 (patch) | |
tree | feb554e3ff6c30c748e5a66bc4650a12ea31cf04 /Tests/RunCMake/CommandLine/RunCMakeTest.cmake | |
parent | 85c2626babf40d704f133fe49506d25f0a674b5f (diff) | |
download | CMake-7b8e7c4ac3885b9a58ce1c238b045d5580f83c27.zip CMake-7b8e7c4ac3885b9a58ce1c238b045d5580f83c27.tar.gz CMake-7b8e7c4ac3885b9a58ce1c238b045d5580f83c27.tar.bz2 |
Deprecate Visual Studio 7 generator (.NET 2002)
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
Diffstat (limited to 'Tests/RunCMake/CommandLine/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 4242723..644e5ae 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -45,6 +45,11 @@ if(RunCMake_GENERATOR STREQUAL "Visual Studio 6") run_cmake(DeprecateVS6-WARN-ON) unset(RunCMake_WARN_VS6) run_cmake(DeprecateVS6-WARN-OFF) +elseif(RunCMake_GENERATOR STREQUAL "Visual Studio 7") + set(RunCMake_WARN_VS70 1) + run_cmake(DeprecateVS70-WARN-ON) + unset(RunCMake_WARN_VS70) + run_cmake(DeprecateVS70-WARN-OFF) endif() if(UNIX) |