[cmake-commits] hoffman committed cmGlobalXCodeGenerator.cxx 1.166
1.167
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 17 10:40:59 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv424/Source
Modified Files:
cmGlobalXCodeGenerator.cxx
Log Message:
ENH: fix build issue with config type not being specified by ctest
Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- cmGlobalXCodeGenerator.cxx 13 Sep 2007 13:14:46 -0000 1.166
+++ cmGlobalXCodeGenerator.cxx 17 Sep 2007 14:40:57 -0000 1.167
@@ -187,6 +187,11 @@
makeCommand += " build";
}
makeCommand += " -target ";
+ // if it is a null string for config don't use it
+ if(config && *config == 0)
+ {
+ config = 0;
+ }
if (targetName && strlen(targetName))
{
makeCommand += targetName;
@@ -209,6 +214,7 @@
makeCommand += " ";
makeCommand += additionalOptions;
}
+ std::cerr << "**** build command " << makeCommand.c_str() << "\n";
return makeCommand;
}
More information about the Cmake-commits
mailing list