MantisBT - CMake
View Issue Details
0013354CMakeCMakepublic2012-06-27 08:142013-07-01 09:37
Jens Bäckman 
Robert Maynard 
normalmajoralways
closedfixed 
AppleMac OS X10.7.4
CMake 2.8.8 
CMake 2.8.11CMake 2.8.11 
0013354: CMake hangs generating XCode project file when CXXFLAGS contains -g in a flag
When adding the compiler flag -Wno-global-constructors,
Add the following line to an existing CMakeLists.txt file:
  set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-global-constructors")
Run "cmake -G Xcode". You will be left with the message "Generating done", and no project file generated.
Might be related to the bug discussed here:
http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/40319 [^]
macosx, Xcode
related to 0012377closed David Cole CMake misparses -g0 as enable debug 
Issue History
2012-06-27 08:14Jens BäckmanNew Issue
2012-06-27 08:14Jens BäckmanTag Attached: macosx
2012-06-27 08:14Jens BäckmanTag Attached: Xcode
2012-07-10 17:57David ColeAssigned To => David Cole
2012-07-10 17:57David ColeStatusnew => assigned
2012-12-03 14:49David ColeTarget Version => CMake 2.8.11
2012-12-20 11:36David ColeRelationship addedrelated to 0012377
2012-12-20 11:38David ColeNote Added: 0031933
2013-01-09 10:26David ColeAssigned ToDavid Cole =>
2013-01-09 10:27David ColeStatusassigned => new
2013-01-10 12:51Robert MaynardAssigned To => Robert Maynard
2013-01-10 12:51Robert MaynardStatusnew => assigned
2013-02-18 09:08Robert MaynardNote Added: 0032325
2013-02-18 09:08Robert MaynardStatusassigned => resolved
2013-02-18 09:08Robert MaynardFixed in Version => CMake 2.8.11
2013-02-18 09:08Robert MaynardResolutionopen => fixed
2013-07-01 09:37Robert MaynardNote Added: 0033426
2013-07-01 09:37Robert MaynardStatusresolved => closed

Notes
(0031933)
David Cole   
2012-12-20 11:38   
This issue was introduced by the commit that "fixed" the related bug 0012377:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cb22afc02c0524ff2b701b33a29339dde1e80bbd [^]
(0032325)
Robert Maynard   
2013-02-18 09:08   
resolved.
(0033426)
Robert Maynard   
2013-07-01 09:37   
Closing resolved issues that have not been updated in more than 4 months.