diff options
author | Brad King <brad.king@kitware.com> | 2014-08-07 16:58:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-08-20 14:21:12 (GMT) |
commit | a43f44000d12c1357eeed04e5a02d11236730dfa (patch) | |
tree | 9212c4495f8dc4896af1aaef1e8b42d69612ca40 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | df3b007d7f904f8de5877f3e05b629239af7220a (diff) | |
download | CMake-a43f44000d12c1357eeed04e5a02d11236730dfa.zip CMake-a43f44000d12c1357eeed04e5a02d11236730dfa.tar.gz CMake-a43f44000d12c1357eeed04e5a02d11236730dfa.tar.bz2 |
VS: Move internal MasmEnabled member up to VS 7 generator
Move the member from cmGlobalVisualStudio10Generator to
cmGlobalVisualStudio7Generator to make it useful for earlier
versions of VS. Set the member to true only starting with
cmGlobalVisualStudio8Generator since we will not implement
MASM support for versions less than VS 8.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index c708a08..19aa52c 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -99,7 +99,6 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator( "ProductDir", vc10Express, cmSystemTools::KeyWOW64_32); this->SystemIsWindowsPhone = false; this->SystemIsWindowsStore = false; - this->MasmEnabled = false; this->MSBuildCommandInitialized = false; } @@ -257,15 +256,6 @@ void cmGlobalVisualStudio10Generator ::EnableLanguage(std::vector<std::string>const & lang, cmMakefile *mf, bool optional) { - for(std::vector<std::string>::const_iterator it = lang.begin(); - it != lang.end(); ++it) - { - if(*it == "ASM_MASM") - { - this->MasmEnabled = true; - } - } - cmGlobalVisualStudio8Generator::EnableLanguage(lang, mf, optional); } |