summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-16 02:02:00 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-16 02:02:00 (GMT)
commit80c2be45e0b1701406e3739bb8a0a8fcad949f69 (patch)
tree1a26958f6aa3fe9c11349b532486b5523123a6fd /Source/cmGlobalXCodeGenerator.cxx
parent8e5e423f78f665d5789679063f0a6cc560da1bd5 (diff)
downloadCMake-80c2be45e0b1701406e3739bb8a0a8fcad949f69.zip
CMake-80c2be45e0b1701406e3739bb8a0a8fcad949f69.tar.gz
CMake-80c2be45e0b1701406e3739bb8a0a8fcad949f69.tar.bz2
ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index d161480..35bc40e 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1303,8 +1303,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
this->AppendDefines(ppDefs, target.GetProperty("COMPILE_DEFINITIONS"));
if(configName)
{
- std::string defVarName = cmSystemTools::UpperCase(configName);
- defVarName += "_COMPILE_DEFINITIONS";
+ std::string defVarName = "COMPILE_DEFINITIONS_";
+ defVarName += cmSystemTools::UpperCase(configName);
this->AppendDefines(ppDefs, target.GetProperty(defVarName.c_str()));
}
buildSettings->AddAttribute