MantisBT - CMake
View Issue Details
0011665CMakeCPackpublic2011-01-06 15:312016-06-10 14:31
Matthieu Patou 
Kitware Robot 
normalminoralways
closedmoved 
Apple MacOS X10.4.10
CMake 2.8.3 
 
0011665: current implementation of CPACK_*_SCRIPT useless when project has subcomponents
If the project has or more CPACK_COMPONENT_<name>_* entry then packagemanager will not take care of any preflight/postflight/postupgrade script either in Contents/Resources or Contents/Resources/<lang>.lproj



An analysis of a package created with packagemaker shows that this tool create a separated subpackage per script (ie. project-preflight.pkg oe project-postflight.pkg), inside this package the needed script (postflight, postupgrade, ...) is located in Contents/Resources.

CPack should do the same if subcomponents are present, the other option is to have CPACK_COMPONENT_<NAME>_*_SCRIPT so that a script can be specified on a subcomponent (tested manually, it works).
No tags attached.
Issue History
2011-01-06 15:31Matthieu PatouNew Issue
2011-01-17 16:59David ColeAssigned To => David Cole
2011-01-17 16:59David ColeStatusnew => assigned
2011-10-25 22:44David ColeAssigned ToDavid Cole =>
2011-10-25 22:44David ColeStatusassigned => backlog
2016-06-10 14:28Kitware RobotNote Added: 0041774
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0041774)
Kitware Robot   
2016-06-10 14:28   
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.