MantisBT - CMake
View Issue Details
0014743CMakeCMakepublic2014-02-07 17:222016-06-10 14:31
Roman80 
Kitware Robot 
normalfeaturealways
closedmoved 
Mac OS XMac OS X
CMake 2.8.12.1 
 
0014743: Target property RESOURCE does not recognize directories
The target property RESOURCE does not copy directories into the frameworks "Resources" directory
No tags attached.
Issue History
2014-02-07 17:22Roman80New Issue
2014-02-10 10:09Brad KingNote Added: 0035063
2014-02-10 10:09Brad KingSeverityminor => feature
2014-02-10 10:09Brad KingStatusnew => backlog
2016-05-02 08:16BartoszNote Added: 0040950
2016-05-02 08:19BartoszNote Added: 0040951
2016-06-10 14:29Kitware RobotNote Added: 0042481
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
(0035063)
Brad King   
2014-02-10 10:09   
The property documentation:

 http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_tgt:RESOURCE [^]

says "may be set to a list of files", so it does not claim to support directories yet.

Still, this may be a reasonable feature request.
(0040950)
Bartosz   
2016-05-02 08:16   
The current behaviour of RESOURCE property was well described on page:
https://cmake.org/cmake/help/v3.5/prop_tgt/RESOURCE.html [^]

Could you please give example how it should behave in case of directory?
Should it copy whole directory content, including directory name?
(0040951)
Bartosz   
2016-05-02 08:19   
The similar issue is also with PUBLIC_HEADER:
https://cmake.org/cmake/help/v3.5/prop_tgt/PUBLIC_HEADER.html [^]

How it could be produced subdirectory in OSX Framework?
(0042481)
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.