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/cmGlobalVisualStudio8Generator.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/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 6bfef68..c91730f 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -136,6 +136,14 @@ void cmGlobalVisualStudio8Generator ::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; + } + } this->AddPlatformDefinitions(mf); cmGlobalVisualStudio7Generator::EnableLanguage(lang, mf, optional); } |