MantisBT - CMake
View Issue Details
0015230CMakeDocumentationpublic2014-10-31 12:062016-06-10 14:31
Peter Wu 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0015230: Behavior of relative paths of target properties
I was wondering whether relative paths can be used in the LIBRARY_OUTPUT_DIRECTORY property, but this is not documented. @ngladitz confirmed on IRC that paths are resolved against the binary directory, referring to the code[1].

Affected documentation:
http://www.cmake.org/cmake/help/v3.0/command/add_library.html [^]
http://www.cmake.org/cmake/help/v3.0/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.html [^]
...

 [1]: http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmTarget.cxx;h=ee62f060607c8fa95da2118784e089bcd70a23fe;hb=HEAD#l4554 [^]
No tags attached.
Issue History
2014-10-31 12:06Peter WuNew Issue
2014-10-31 12:44Brad KingNote Added: 0037120
2014-11-03 09:33Brad KingStatusnew => backlog
2016-06-10 14:29Kitware RobotNote Added: 0042655
2016-06-10 14:29Kitware RobotStatusbacklog => 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
(0037120)
Brad King   
2014-10-31 12:44   
It appears to be implemented but not documented or covered in the test suite.

I would not be opposed to the addition of documentation and tests for it, but until that happens I wouldn't recommend depending on the behavior.
(0042655)
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.