[cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx 1.233 1.234

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jan 18 08:35:39 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv15075

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
BUG: Construction of COMPILE_DEFINITIONS_<CONFIG> property name must use upper-case config name.


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -d -r1.233 -r1.234
--- cmLocalUnixMakefileGenerator3.cxx	18 Jan 2008 00:58:01 -0000	1.233
+++ cmLocalUnixMakefileGenerator3.cxx	18 Jan 2008 13:35:37 -0000	1.234
@@ -1849,7 +1849,7 @@
   std::vector<std::string> defines;
   {
   std::string defPropName = "COMPILE_DEFINITIONS_";
-  defPropName += this->ConfigurationName;
+  defPropName += cmSystemTools::UpperCase(this->ConfigurationName);
   if(const char* ddefs = this->Makefile->GetProperty("COMPILE_DEFINITIONS"))
     {
     cmSystemTools::ExpandListArgument(ddefs, defines);



More information about the Cmake-commits mailing list