View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015806CMakeCMakepublic2015-10-20 18:342016-06-10 14:31
ReporterChing Ping Sun 
Assigned ToGregor Jasny 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformApple MacOSOS XOS Version10.4.10
Product VersionCMake 3.2 
Target VersionFixed in Version 
Summary0015806: The Xcode generator consumes all arguments beginning with "-g"
Descriptioncmake, when generating Xcode projects, attempts to translate arguments starting with -g… flags into the proper Xcode project file setting. In doing so, it removes all arguments beginning with "-g" from the CMAKE_CXX_FLAGS_DEBUG and CMAKE_C_FLAGS_DEBUG variables and they do not get passed to the OTHER_CPLUSPLUSFLAGS and OTHER_CFLAGS values in the Xcode project.

I have attached 2 files to reproduce this situation. (one CMakeLists.txt, one foo.cpp as a build source), in CMakeLists.txt, the -ftemplate-depth=1024 can be translated to Xcode project settings, while the -gline-tables-only can not.
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (207 bytes) 2015-10-20 18:34 [Show Content]
cpp file icon foo.cpp [^] (141 bytes) 2015-10-20 18:35

 Relationships

  Notes
(0042865)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-10-20 18:34 Ching Ping Sun New Issue
2015-10-20 18:34 Ching Ping Sun File Added: CMakeLists.txt
2015-10-20 18:35 Ching Ping Sun File Added: foo.cpp
2015-10-21 01:38 Gregor Jasny Assigned To => Gregor Jasny
2015-10-21 01:38 Gregor Jasny Status new => assigned
2016-06-10 14:29 Kitware Robot Note Added: 0042865
2016-06-10 14:29 Kitware Robot Status assigned => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team