diff options
author | Brad King <brad.king@kitware.com> | 2008-01-16 02:02:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-16 02:02:00 (GMT) |
commit | 80c2be45e0b1701406e3739bb8a0a8fcad949f69 (patch) | |
tree | 1a26958f6aa3fe9c11349b532486b5523123a6fd /Source/cmLocalVisualStudio6Generator.cxx | |
parent | 8e5e423f78f665d5789679063f0a6cc560da1bd5 (diff) | |
download | CMake-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/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 0f67bf1..9465275 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -417,21 +417,21 @@ void cmLocalVisualStudio6Generator std::map<cmStdString, cmStdString> cdmap; this->AppendDefines(compileFlags, (*sf)->GetProperty("COMPILE_DEFINITIONS")); - if(const char* cdefs = (*sf)->GetProperty("DEBUG_COMPILE_DEFINITIONS")) + if(const char* cdefs = (*sf)->GetProperty("COMPILE_DEFINITIONS_DEBUG")) { this->AppendDefines(cdmap["DEBUG"], cdefs); } - if(const char* cdefs = (*sf)->GetProperty("RELEASE_COMPILE_DEFINITIONS")) + if(const char* cdefs = (*sf)->GetProperty("COMPILE_DEFINITIONS_RELEASE")) { this->AppendDefines(cdmap["RELEASE"], cdefs); } if(const char* cdefs = - (*sf)->GetProperty("MINSIZEREL_COMPILE_DEFINITIONS")) + (*sf)->GetProperty("COMPILE_DEFINITIONS_MINSIZEREL")) { this->AppendDefines(cdmap["MINSIZEREL"], cdefs); } if(const char* cdefs = - (*sf)->GetProperty("RELWITHDEBINFO_COMPILE_DEFINITIONS")) + (*sf)->GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO")) { this->AppendDefines(cdmap["RELWITHDEBINFO"], cdefs); } @@ -1505,15 +1505,15 @@ void cmLocalVisualStudio6Generator // Add per-target and per-configuration preprocessor definitions. this->AppendDefines(flags, target.GetProperty("COMPILE_DEFINITIONS")); this->AppendDefines(flagsDebug, - target.GetProperty("DEBUG_COMPILE_DEFINITIONS")); + target.GetProperty("COMPILE_DEFINITIONS_DEBUG")); this->AppendDefines(flagsRelease, - target.GetProperty("RELEASE_COMPILE_DEFINITIONS")); + target.GetProperty("COMPILE_DEFINITIONS_RELEASE")); this->AppendDefines (flagsMinSize, - target.GetProperty("MINSIZEREL_COMPILE_DEFINITIONS")); + target.GetProperty("COMPILE_DEFINITIONS_MINSIZEREL")); this->AppendDefines (flagsDebugRel, - target.GetProperty("RELWITHDEBINFO_COMPILE_DEFINITIONS")); + target.GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO")); // The template files have CXX FLAGS in them, that need to be replaced. // There are not separate CXX and C template files, so we use the same |