[cmake-developers] [CMake 0015696]: cpack preinstall of subdirectory regression in 3.3
Mantis Bug Tracker
mantis at public.kitware.com
Thu Aug 13 15:10:37 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15696
======================================================================
Reported By: Clinton Stimpson
Assigned To:
======================================================================
Project: CMake
Issue ID: 15696
Category: CPack
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-08-13 15:10 EDT
Last Modified: 2015-08-13 15:10 EDT
======================================================================
Summary: cpack preinstall of subdirectory regression in 3.3
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 at kitware.com>
Date: Tue Mar 31 10:26:29 2015 -0400
CPack: Fix make tool selection during preinstall
(http://www.cmake.org/Bug/view.php?id=15483)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-08-13 15:10 Clinton StimpsonNew Issue
2015-08-13 15:10 Clinton StimpsonFile Added: test-cpack-subdir.tar.gz
======================================================================
More information about the cmake-developers
mailing list