MantisBT - CMake
View Issue Details
0015042CMakeCPackpublic2014-07-28 09:082016-06-10 14:31
Lucas Betschart 
Kitware Robot 
normalminoralways
closedmoved 
all plattforms
CMake 2.8.11.2 
 
0015042: Add CPACK_PACKAGE_COMPONENT_NAME that naming component packages gets more flexible
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!
In your source: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CPack/cmCPackGenerator.cxx;h=9336bedecad9ab0f0a6354cfe5597f670fb971f0;hb=HEAD#l1427 [^]
No tags attached.
related to 0013015closed Domen Vrankar cpack deb generator components specify output names 
Issue History
2014-07-28 09:08Lucas BetschartNew Issue
2014-07-28 09:16Rolf Eike BeerAssigned To => Eric NOULARD
2014-07-28 09:16Rolf Eike BeerStatusnew => assigned
2014-07-28 09:26Nils GladitzRelationship addedrelated to 0013015
2015-11-08 13:11Eric NOULARDAssigned ToEric NOULARD =>
2016-06-10 14:29Kitware RobotNote Added: 0042592
2016-06-10 14:29Kitware RobotStatusassigned => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042592)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.