[Cmake-commits] [cmake-commits] hoffman committed cmGlobalXCodeGenerator.cxx 1.222 1.223
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 14 14:59:29 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv21219/Source
Modified Files:
cmGlobalXCodeGenerator.cxx
Log Message:
Fix for bug #8807, add support for CMAKE_EXE_LINKER_FLAGS_(config) to Xcode generator.
Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.222
retrieving revision 1.223
diff -C 2 -d -r1.222 -r1.223
*** cmGlobalXCodeGenerator.cxx 29 Jul 2009 20:40:07 -0000 1.222
--- cmGlobalXCodeGenerator.cxx 14 Sep 2009 18:59:27 -0000 1.223
***************
*** 1510,1513 ****
--- 1510,1522 ----
extraLinkOptions =
this->CurrentMakefile->GetRequiredDefinition("CMAKE_EXE_LINKER_FLAGS");
+ std::string var = "CMAKE_EXE_LINKER_FLAGS_";
+ var += cmSystemTools::UpperCase(configName);
+ std::string val =
+ this->CurrentMakefile->GetSafeDefinition(var.c_str());
+ if(val.size())
+ {
+ extraLinkOptions += " ";
+ extraLinkOptions += val;
+ }
}
if(target.GetType() == cmTarget::SHARED_LIBRARY)
More information about the Cmake-commits
mailing list