View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014555CMakeCMakepublic2013-11-11 06:502016-06-10 14:31
ReporterTim Patterson 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformApple MacOSOS XOS Version10.4.10
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014555: Add ability to INSTALL(CODE|SCRIPT ...) that is always executed at install time regardless of component being installed.
DescriptionAt the moment, the INSTALL(CODE|SCRIPT ...) command always generates install-time code that wraps the script or code passed to the command in an "if" statement that only executes the code if the selected (or CMAKE_INSTALL_DEFAULT_COMPONENT_NAME if none selected) component is currently being installed. I'd like to be able to add arbitrary code to the install-time script without this check.
 
Perhaps a new flag "ALWAYS_EXECUTE" (ok - that's lame) or something like that could be added to the INSTALL(CODE|SCRIPT ...) command?
Additional InformationI'm (very slowly) developing a set of scripts that will allow me to specify dependencies (a'la augmented-FIND_PACKAGE), but allow them to be managed in an independent and consistent manner (a'la maven/ivy). It's all very brittle and basic ATM... I'm currently working on tying the information gathered from this step together with information gathered from a slightly augmented "GetPrerequisites" executed at install time to easily (?) build install packages. Tying them together requires that some information from the augmented FIND_PACKAGE step be placed into the install-time script and executed regardless of component being installed.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042416)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2013-11-11 06:50 Tim Patterson New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042416
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team