summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.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/cmLocalVisualStudio7Generator.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/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index ab3d024..2480622 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -521,8 +521,8 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
}
std::string configUpper = cmSystemTools::UpperCase(configName);
- std::string defPropName = configUpper;
- defPropName += "_COMPILE_DEFINITIONS";
+ std::string defPropName = "COMPILE_DEFINITIONS_";
+ defPropName += configUpper;
// Get preprocessor definitions for this directory.
std::string defineFlags = this->Makefile->GetDefineFlags();
@@ -1093,8 +1093,8 @@ cmLocalVisualStudio7GeneratorFCInfo
fc.CompileDefs = cdefs;
needfc = true;
}
- std::string defPropName = configUpper;
- defPropName += "_COMPILE_DEFINITIONS";
+ std::string defPropName = "COMPILE_DEFINITIONS_";
+ defPropName += configUpper;
if(const char* ccdefs = sf.GetProperty(defPropName.c_str()))
{
fc.CompileDefsConfig = ccdefs;