[Cmake-commits] [cmake-commits] king committed cmGlobalXCodeGenerator.cxx 1.238 1.239

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 28 12:18:27 EDT 2009


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

Modified Files:
	cmGlobalXCodeGenerator.cxx 
Log Message:
Fix Xcode <= 2.0 projects with CMAKE_BUILD_TYPE

The dependency-helper makefiles should not have per-configuration names
for Xcode <= 2.0.  Older Xcodes do not support multiple configurations.


Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.238
retrieving revision 1.239
diff -C 2 -d -r1.238 -r1.239
*** cmGlobalXCodeGenerator.cxx	28 Oct 2009 13:12:38 -0000	1.238
--- cmGlobalXCodeGenerator.cxx	28 Oct 2009 16:18:24 -0000	1.239
***************
*** 1282,1286 ****
  {
    std::string makefileName=makefileBasename;
!   makefileName+=configName;
    cmGeneratedFileStream makefileStream(makefileName.c_str());
    if(!makefileStream)
--- 1282,1289 ----
  {
    std::string makefileName=makefileBasename;
!   if(this->XcodeVersion > 20)
!     {
!     makefileName+=configName;
!     }
    cmGeneratedFileStream makefileStream(makefileName.c_str());
    if(!makefileStream)



More information about the Cmake-commits mailing list