View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007941CMakeCMakepublic2008-11-04 19:012016-06-10 14:30
ReporterEthan Tira-Thompson 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007941: public_headers property does not support sub-directories
DescriptionIt would be nice to support sub-directories in the OS X Framework Headers directory.
I know this is not "recommended practice", but for portability reasons this may be required, and it is supported by the compiler, so there's no reason for CMake not to support it as well.

Currently if a directory is listed in the public_headers property, it seems cmake silently ignores the whole list. It should just copy the listed files and directories. Or at least give a noisy error/warning.

I'm not even sure how to produce a good workaround, there should be a command to copy specified files into specified locations in the Headers or Resources directory... currently it seems this can only be put in the "root" of these directories, no way to specify subdirectories...?
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014030)
Ethan Tira-Thompson (reporter)
2008-11-04 19:11

Related mailing list post: http://www.cmake.org/pipermail/cmake/2008-June/022378.html [^]
(0014031)
Ethan Tira-Thompson (reporter)
2008-11-04 19:21

Another related mailing list post, which provides a more reasonable workaround:
http://www.cmake.org/pipermail/cmake/2008-August/023314.html [^]

That might actually be a considered a pretty good solution, so perhaps this could be considered a documentation issue. MACOSX_PACKAGE_LOCATION should suggest it can be used to produce subdirectories within the standard framework/bundle directories, and PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE property documenation should refer to using MACOSX_PACKAGE_LOCATION if subdirectories are required.

Alternatively, PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE should provide a way to specify subdirectories directly, which would be a little cleaner.
(0041467)
Kitware Robot (administrator)
2016-06-10 14:27

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
2008-11-04 19:01 Ethan Tira-Thompson New Issue
2008-11-04 19:11 Ethan Tira-Thompson Note Added: 0014030
2008-11-04 19:21 Ethan Tira-Thompson Note Added: 0014031
2008-11-05 17:37 Bill Hoffman Status new => assigned
2008-11-05 17:37 Bill Hoffman Assigned To => David Cole
2011-02-09 14:26 David Cole Status assigned => backlog
2011-02-09 15:12 David Cole Assigned To David Cole =>
2016-06-10 14:27 Kitware Robot Note Added: 0041467
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:27 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team