View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0014555 | CMake | CMake | public | 2013-11-11 06:50 | 2016-06-10 14:31 |
|
Reporter | Tim Patterson | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | moved | |
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
Product Version | CMake 2.8.12 | |
Target Version | | Fixed in Version | | |
|
Summary | 0014555: Add ability to INSTALL(CODE|SCRIPT ...) that is always executed at install time regardless of component being installed. |
Description | At 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 Information | I'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. |
Tags | No tags attached. |
|
Attached Files | |
|