summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.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/cmGlobalXCodeGenerator.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/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 9600771..99a2640 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -237,8 +237,6 @@ void cmGlobalXCodeGenerator::EnableLanguage(std::vector<std::string>const&
cmCacheManager::STRING);
}
}
- mf->AddDefinition("CMAKE_GENERATOR_CC", "gcc");
- mf->AddDefinition("CMAKE_GENERATOR_CXX", "g++");
mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
if(!this->PlatformToolset.empty())
{