[cmake-developers] [CMake 0013354]: CMake hangs generating XCode project file when CXXFLAGS contains -g in a flag

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 9 10:27:15 EST 2013


The following issue is now in status NEW (again) 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13354 
====================================================================== 
Reported By:                Jens Bäckman
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13354
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Target Version:             CMake 2.8.11
====================================================================== 
Date Submitted:             2012-06-27 08:14 EDT
Last Modified:              2013-01-09 10:27 EST
====================================================================== 
Summary:                    CMake hangs generating XCode project file when
CXXFLAGS contains -g in a flag
Description: 
When adding the compiler flag -Wno-global-constructors, 

Steps to Reproduce: 
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.

Additional Information: 
Might be related to the bug discussed here:
http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/40319
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012377 CMake misparses -g0 as enable debug
====================================================================== 

---------------------------------------------------------------------- 
 (0031933) David Cole (manager) - 2012-12-20 11:38
 http://public.kitware.com/Bug/view.php?id=13354#c31933 
---------------------------------------------------------------------- 
This issue was introduced by the commit that "fixed" the related bug
http://public.kitware.com/Bug/view.php?id=12377:

 
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cb22afc02c0524ff2b701b33a29339dde1e80bbd


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-27 08:14 Jens Bäckman   New Issue                                    
2012-06-27 08:14 Jens Bäckman   Tag Attached: macosx                         
2012-06-27 08:14 Jens Bäckman   Tag Attached: Xcode                          
2012-07-10 17:57 David Cole     Assigned To               => David Cole      
2012-07-10 17:57 David Cole     Status                   new => assigned     
2012-12-03 14:49 David Cole     Target Version            => CMake 2.8.11    
2012-12-15 17:17 Arjun GovindjeeIssue Monitored: Arjun Govindjee                
   
2012-12-20 11:36 David Cole     Relationship added       related to 0012377  
2012-12-20 11:38 David Cole     Note Added: 0031933                          
2013-01-09 10:26 David Cole     Assigned To              David Cole =>       
2013-01-09 10:27 David Cole     Status                   assigned => new     
======================================================================




More information about the cmake-developers mailing list