MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014329 | CMake | CMake | public | 2013-07-31 16:59 | 2016-06-10 14:31 |
Reporter | Andreas Pakulat | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | Debian GNU/Linux | OS Version | unstable | |
Product Version | CMake 2.8.8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014329: COMPONENT ignored when appearing after DESTINATION's | ||||
Description | It seems that unlike what the documentation suggests the position of the "COMPONENT" part of an install() command is not arbitrary. The attached project shows that the generated cmake_install.cmake file has the 'Unspecified' component set for the 'foo' target, but the expected 'applications' component set for the 'bar' target. The only difference between both is that the 'bar' target has COMPONENT before the various DESTINATION entries and 'foo' has COMPONENT after them. I tried CMake 2.8.11.2, 2.8.10 and 2.8.8 and all of them show the same incorrect (IMO) behaviour. | ||||
Steps To Reproduce | 1. Run cmake on the attached minimal example 2. Inspect cmake_install.cmake and verify the components used for the 'foo' and 'bar' targets respectively | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4831/cmaketestcase.tar.gz ![]() https://public.kitware.com/Bug/file/4832/CMakeLists.txt | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-07-31 16:59 | Andreas Pakulat | New Issue | |||
2013-07-31 16:59 | Andreas Pakulat | File Added: cmaketestcase.tar.gz | |||
2013-07-31 17:12 | Andreas Pakulat | Note Added: 0033640 | |||
2013-07-31 17:17 | Eric NOULARD | File Added: CMakeLists.txt | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042336 | |||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|