summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-19 14:28:13 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-19 14:29:11 (GMT)
commitbed6c388960749b9d93cbb3590896c6a663f83df (patch)
treec257c4a7e8913e280a1e23104e95b8d021951ab5 /Source/cmGlobalVisualStudio7Generator.cxx
parenta0ac2c59feec347a4cc93ab46fcf28f1dad49e99 (diff)
downloadCMake-bed6c388960749b9d93cbb3590896c6a663f83df.zip
CMake-bed6c388960749b9d93cbb3590896c6a663f83df.tar.gz
CMake-bed6c388960749b9d93cbb3590896c6a663f83df.tar.bz2
VS,Xcode: Remove unused CMAKE_GENERATOR_* variables
Since the topic merged to master by commit 34a02846 (Merge topic 'ide-compiler-id', 2012-08-24), these variables are not used by CMakeDetermine*Compiler.cmake for VS and Xcode generators. Drop the code that sets them.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 71d79a1..154aa32 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -27,11 +27,8 @@ void cmGlobalVisualStudio7Generator
::EnableLanguage(std::vector<std::string>const & lang,
cmMakefile *mf, bool optional)
{
- mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
- mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
mf->AddDefinition("CMAKE_GENERATOR_RC", "rc");
mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
- mf->AddDefinition("CMAKE_GENERATOR_FC", "ifort");
this->AddPlatformDefinitions(mf);
// Create list of configurations requested by user's cache, if any.