diff options
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 8 |
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; |