diff options
author | Brad King <brad.king@kitware.com> | 2011-09-23 15:04:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-09-23 15:07:24 (GMT) |
commit | 3b5256e19e27794ba871b0149f4c8f0237d1e872 (patch) | |
tree | 4330eec37519bfc68d92c37986dd6bb616142482 /Tests/CheckCompilerRelatedVariables | |
parent | 3d5632ed59d3d46298304d20d3f11f9d1da02f93 (diff) | |
download | CMake-3b5256e19e27794ba871b0149f4c8f0237d1e872.zip CMake-3b5256e19e27794ba871b0149f4c8f0237d1e872.tar.gz CMake-3b5256e19e27794ba871b0149f4c8f0237d1e872.tar.bz2 |
Teach our tests about special cases for VS 11
Teach the CheckCompilerRelatedVariables test to verify MSVC11. Update
the special cases already in the Preprocess and VSExternalInclude tests
for VS 10 to work for VS 11 too.
Diffstat (limited to 'Tests/CheckCompilerRelatedVariables')
-rw-r--r-- | Tests/CheckCompilerRelatedVariables/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CheckCompilerRelatedVariables/CMakeLists.txt b/Tests/CheckCompilerRelatedVariables/CMakeLists.txt index 8095a1c..8b279a5 100644 --- a/Tests/CheckCompilerRelatedVariables/CMakeLists.txt +++ b/Tests/CheckCompilerRelatedVariables/CMakeLists.txt @@ -34,6 +34,9 @@ endif() if(DEFINED MSVC10) math(EXPR msvc_total "${msvc_total} + 1") endif() +if(DEFINED MSVC11) + math(EXPR msvc_total "${msvc_total} + 1") +endif() echo_var(MSVC) echo_var(MSVC60) @@ -42,6 +45,7 @@ echo_var(MSVC71) echo_var(MSVC80) echo_var(MSVC90) echo_var(MSVC10) +echo_var(MSVC11) if(MSVC) # |