MantisBT - CMake
View Issue Details
0015785CMakeCMakepublic2015-10-13 02:592016-06-10 14:31
SunBlack 
Kitware Robot 
normalfeaturealways
closedmoved 
 
 
0015785: Support "generator expressions" in "install(CODE)"
With CMake 3.4 "install(FILES)" and "install(DIRECTORY)" learned to support "generator expressions" in command "DESTINATION". But it would be helpful if "install(CODE)" support "generator expressions" too.

An usecase could be:
<code>
INSTALL(CODE "
   include(BundleUtilities)
   fixup_bundle($<TARGET_FILE_DIR:${PROJECT_NAME}> \"\" \"\")
   " COMPONENT Runtime
)
</code>
No tags attached.
Issue History
2015-10-13 02:59SunBlackNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042855
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
(0042855)
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.