diff options
author | Brad King <brad.king@kitware.com> | 2017-04-21 17:41:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-21 17:45:45 (GMT) |
commit | 81f9c9e892e6b4ee873361b3750a87760ebe8a2d (patch) | |
tree | 1ea0ed8107657eef4362cefa603bf3aab7da615d /Tests/RunCMake/CommandLine/RunCMakeTest.cmake | |
parent | 294cf948dc37799e1980685afbf1fa585ad5b0fb (diff) | |
download | CMake-81f9c9e892e6b4ee873361b3750a87760ebe8a2d.zip CMake-81f9c9e892e6b4ee873361b3750a87760ebe8a2d.tar.gz CMake-81f9c9e892e6b4ee873361b3750a87760ebe8a2d.tar.bz2 |
Deprecate Visual Studio 8 2005 generator
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index f327f78..f94b10a 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -78,6 +78,13 @@ if(RunCMake_GENERATOR STREQUAL "Ninja") unset(RunCMake_TEST_NO_CLEAN) endif() +if(RunCMake_GENERATOR MATCHES "^Visual Studio 8 2005") + set(RunCMake_WARN_VS8 1) + run_cmake(DeprecateVS8-WARN-ON) + unset(RunCMake_WARN_VS8) + run_cmake(DeprecateVS8-WARN-OFF) +endif() + if(UNIX) run_cmake_command(E_create_symlink-no-arg ${CMAKE_COMMAND} -E create_symlink |