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 <[email protected]>
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
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers