diff options
author | David Cole <david.cole@kitware.com> | 2010-05-04 01:29:08 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2010-05-05 21:08:06 (GMT) |
commit | e0acb6ca5fbe5429b6a1cc7f7188dd3e388ffd7c (patch) | |
tree | 163d9503f7e85b18d4c743c8bfbdeaa5100a37ab /Utilities | |
parent | ea62d6973b657041021f00c67726cf476acd2424 (diff) | |
download | CMake-e0acb6ca5fbe5429b6a1cc7f7188dd3e388ffd7c.zip CMake-e0acb6ca5fbe5429b6a1cc7f7188dd3e388ffd7c.tar.gz CMake-e0acb6ca5fbe5429b6a1cc7f7188dd3e388ffd7c.tar.bz2 |
Fix Windows-cl.cmake so that at most one MSVC** variable is defined.
The expectation of users of the MSVC60, MSVC70, MSVC71, MSVC80, MSVC90
and the new MSVC10 variables is that at most one of them will be set
for any given build tree. This change enforces that expectation for
build trees using Makefile generators. It also fixes the one mismatch
in that expectation to be found in the Visual Studio generator world:
previously, the VS 7.1 generator would set *both* MSVC70 and MSVC71;
now, it only sets MSVC71.
With these changes, user expectations are now met, and the recently
introduced CheckCompilerRelatedVariables test should pass everywhere.
Diffstat (limited to 'Utilities')
0 files changed, 0 insertions, 0 deletions