MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015696 | CMake | CPack | public | 2015-08-13 15:10 | 2016-01-04 11:52 |
| Reporter | Clinton Stimpson | ||||
| Assigned To | Clinton Stimpson | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 3.3 | ||||
| Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | ||
| Summary | 0015696: cpack preinstall of subdirectory no longer works | ||||
| Description | For one cpack config file, I want to package up only a certain subdirectory. For that, I set CPACK_INSTALL_CMAKE_PROJECTS SET(CPACK_INSTALL_CMAKE_PROJECTS ${CMAKE_CURRENT_BINARY_DIR} MyProject "ALL" "/" ) INCLUDE(CPack) When I run cpack, I get the following error: CPack Error: Problem running install command: /usr/local/bin/cmake --build . --target "preinstall" Please check /home/cjstimp/cmake/test-cpack-subdir/build/_CPack_Packages/Linux/ZIP/PreinstallOutput.log for errors | ||||
| Steps To Reproduce | Use the attached example project. From the build directory, run cpack -G ZIP . | ||||
| Additional Information | Git bisect reveals this commit introduced the error. 93a3ec8b7705c6edfa08a59a789d193fcb4cf4c1 is the first bad commit commit 93a3ec8b7705c6edfa08a59a789d193fcb4cf4c1 Author: Brad King <brad.king@kitware.com> Date: Tue Mar 31 10:26:29 2015 -0400 CPack: Fix make tool selection during preinstall (0015483) | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5508/test-cpack-subdir.tar.gz | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-08-13 15:10 | Clinton Stimpson | New Issue | |||
| 2015-08-13 15:10 | Clinton Stimpson | File Added: test-cpack-subdir.tar.gz | |||
| 2015-08-13 15:15 | Brad King | Product Version | => CMake 3.3 | ||
| 2015-08-13 15:15 | Brad King | Summary | cpack preinstall of subdirectory regression in 3.3 => cpack preinstall of subdirectory no longer works | ||
| 2015-08-13 15:15 | Brad King | Description Updated | bug_revision_view_page.php?rev_id=1867#r1867 | ||
| 2015-08-13 15:21 | Brad King | Note Added: 0039278 | |||
| 2015-08-13 15:21 | Brad King | Assigned To | => Clinton Stimpson | ||
| 2015-08-13 15:21 | Brad King | Status | new => assigned | ||
| 2015-08-13 15:33 | Clinton Stimpson | Note Added: 0039279 | |||
| 2015-08-13 15:45 | Brad King | Note Added: 0039280 | |||
| 2015-08-17 10:22 | Brad King | Note Added: 0039290 | |||
| 2015-08-17 11:02 | Clinton Stimpson | Note Added: 0039291 | |||
| 2015-08-18 10:12 | Brad King | Status | assigned => resolved | ||
| 2015-08-18 10:12 | Brad King | Resolution | open => fixed | ||
| 2015-08-18 10:12 | Brad King | Fixed in Version | => CMake 3.4 | ||
| 2015-08-18 10:12 | Brad King | Target Version | => CMake 3.4 | ||
| 2016-01-04 11:52 | Robert Maynard | Note Added: 0040116 | |||
| 2016-01-04 11:52 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||