MantisBT - CMake
View Issue Details
0014853CMakeCMakepublic2014-03-31 09:502016-06-10 14:31
Michał Cichoń 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0014853: CMAKE_XCODE_ATTRIBUTE_SYMROOT is overriden by CMake
CMAKE_XCODE_ATTRIBUTE_SYMROOT defined to custom directory is overriden by Xcode generator. To clarify I attached patch I'm using to enable user defined SYMROOT attribute.
I'm not sure if that was by design or not.
No tags attached.
patch Do not override custom defined SYMROOT.patch (1,553) 2014-03-31 09:50
https://public.kitware.com/Bug/file/5115/Do%20not%20override%20custom%20defined%20SYMROOT.patch
Issue History
2014-03-31 09:50Michał CichońNew Issue
2014-03-31 09:50Michał CichońFile Added: Do not override custom defined SYMROOT.patch
2014-03-31 09:57Brad KingNote Added: 0035571
2014-04-01 03:01Michał CichońNote Added: 0035593
2014-04-01 09:37Brad KingNote Added: 0035598
2014-04-07 02:23Michał CichońNote Added: 0035643
2016-06-10 14:29Kitware RobotNote Added: 0042525
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0035571)
Brad King   
2014-03-31 09:57   
Why do you need to change the SYMROOT? If there is a good reason then CMake should have a first-class interface to do it. Hacking the attribute value may make object locations computed in cmGlobalXCodeGenerator::GetObjectsNormalDirectory wrong.
(0035593)
Michał Cichoń   
2014-04-01 03:01   
Default value for SYMROOT in Xcode project is 'build' and there is no way to keep it that way because CMake generator always replace it with absolute path to its output directory.
We relay on default value.
(0035598)
Brad King   
2014-04-01 09:37   
Re 0014853:0035593: I'd like to understand your use case in more detail, please. How and why do you rely on the default value?
(0035643)
Michał Cichoń   
2014-04-07 02:23   
We have build scripts spread on multiple branches written with assumption that build artifacts lands in default directory. It was more reasonable to change CMake than to edit scripts to match generated project.

Bottom line is I was unable to create Xcode project with settings that match default values and I think it may be an issue. If you decide it is not we just stick to modified version.
(0042525)
Kitware Robot   
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.