View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007282 | CMake | CPack | public | 2008-07-03 18:23 | 2008-07-22 10:44 | ||||
Reporter | Miguel Figueroa | ||||||||
Assigned To | Douglas Gregor | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake-2-6 | |||||||
Summary | 0007282: CPack components need to be in global scope | ||||||||
Description | Currently the CPack component features depend on some variables such as: CPACK_COMPONENTS_ALL CPACK_COMPONENT_${CNAME}_GROUP ... These variables are typically easier to set at the point where you are building the component, which might be nested in some hierarchy. For example, if you have the following hierarchy with a CMakeLists.txt at each level, then you need to export the variables up at each level. / /libs => set(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} PARENT_SCOPE /libs/any => set(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} any PARENT_SCOPE) These variables should be collected without the need to be set globally. Maybe a new command 'add_cpack_component' like the 'add_test' would be useful or having a CPackComponents.cmake file to collect components, such as tests are collected in CTestTestfile.cmake. --Miguel | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0012799) Douglas Gregor (developer) 2008-07-22 10:44 |
Fixed in CMake 2.6.1; use the macros cpack_add_component, cpack_add_component_group, etc., provided by the CPack modular. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-07-03 18:23 | Miguel Figueroa | New Issue | |
2008-07-04 10:23 | Douglas Gregor | Status | new => assigned |
2008-07-04 10:23 | Douglas Gregor | Assigned To | => Douglas Gregor |
2008-07-22 10:44 | Douglas Gregor | Status | assigned => closed |
2008-07-22 10:44 | Douglas Gregor | Note Added: 0012799 | |
2008-07-22 10:44 | Douglas Gregor | Resolution | open => fixed |
2008-07-22 10:44 | Douglas Gregor | Fixed in Version | => CMake-2-6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |