View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016087CMakeCMakepublic2016-05-01 12:362016-06-10 14:21
Reporterregnirpsj 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 3.3.2 
Target VersionCMake 3.4Fixed in VersionCMake 3.4 
Summary0016087: get_filename_component has incomplete documentation
Descriptiondocumentation for 'get_filename_component' does not mention that absolute paths are build with respect to 'CMAKE_SOURCE_DIR'. that is rather inconvenient when trying to create an absolute path with respect to, say, 'CMAKE_BINARY_DIR' in an out-of-tree build.
Additional Informationthe dependency of 'get_filename_component' to 'CMAKE_SOURCE_DIR' was mentioned in issue 0002797.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0041003)
Brad King (manager)
2016-05-02 09:15

The CMake 3.4 and above documentation provide this information:

  https://cmake.org/cmake/help/v3.4/command/get_filename_component.html [^]

It was added here:

 get_filename_component: Teach new BASE_DIR parameter.
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e89ea3d1 [^]

along with a feature to help with your use case.
(0041180)
Kitware Robot (administrator)
2016-06-10 14:21

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
2016-05-01 12:36 regnirpsj New Issue
2016-05-02 09:15 Brad King Note Added: 0041003
2016-05-02 09:15 Brad King Status new => resolved
2016-05-02 09:15 Brad King Resolution open => fixed
2016-05-02 09:15 Brad King Fixed in Version => CMake 3.4
2016-05-02 09:15 Brad King Target Version => CMake 3.4
2016-06-10 14:21 Kitware Robot Note Added: 0041180
2016-06-10 14:21 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team