[cmake-developers] [CMake 0015042]: Add CPACK_PACKAGE_COMPONENT_NAME that naming component packages gets more flexible
Mantis Bug Tracker
mantis at public.kitware.com
Mon Jul 28 09:08:11 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15042
======================================================================
Reported By: Lucas Betschart
Assigned To:
======================================================================
Project: CMake
Issue ID: 15042
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-07-28 09:08 EDT
Last Modified: 2014-07-28 09:08 EDT
======================================================================
Summary: Add CPACK_PACKAGE_COMPONENT_NAME that naming
component packages gets more flexible
Description:
If I build my -dev package with cpack COMPONENT flag, it get this:
opentxs-0.93.0-1.x86_64-dev.tar.gz (I add the version and system to the name),
but I'd like to have opentxs-dev-0.93.0-1.x86_64.tar.gz
Please add CPACK_PACKAGE_COMPONENT_NAME as a variable so one can use that in the
package file name.
So I could do something like this:
set(CPACK_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_COMPONENT_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
Thx!
Additional Information:
In your source:
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CPack/cmCPackGenerator.cxx;h=9336bedecad9ab0f0a6354cfe5597f670fb971f0;hb=HEAD#l1427
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-07-28 09:08 Lucas BetschartNew Issue
======================================================================
More information about the cmake-developers
mailing list