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 ====================================================================== -- 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