MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015806 | CMake | CMake | public | 2015-10-20 18:34 | 2016-06-10 14:31 |
Reporter | Ching Ping Sun | ||||
Assigned To | Gregor Jasny | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
Product Version | CMake 3.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015806: The Xcode generator consumes all arguments beginning with "-g" | ||||
Description | cmake, 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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | CMakeLists.txt (207) 2015-10-20 18:34 https://public.kitware.com/Bug/file/5556/CMakeLists.txt foo.cpp (141) 2015-10-20 18:35 https://public.kitware.com/Bug/file/5557/foo.cpp | ||||
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 |
Notes | |||||
|
|||||
|
|