[cmake-developers] [CMake 0012997]: Provide a more flexible way to name package produced by CPack

Mantis Bug Tracker mantis at public.kitware.com
Sat Feb 25 18:02:31 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12997 
====================================================================== 
Reported By:                Eric NOULARD
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12997
Category:                   CPack
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-26 00:02 CET
Last Modified:              2012-02-26 00:02 CET
====================================================================== 
Summary:                    Provide a more flexible way to name package produced
by CPack
Description: 
Currently the name the package files produced by CPack generator
is "only" driven by the CPACK_PACKAGE_FILE_NAME variable.

CPack.cmake modules provides a default value, which is:
${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}
etc...
This is not flexible enough and as already generated related bugs.

We may design a more flexible way to name the package which:
 1) Could be built at CPack time
 2) May generate different names for different generators
 3) May generate different names depending on the host system
    (Fedora RPM may not be named like OpenSuSE RPM)
 4) Take into the name mangling produced by component packaging.

More ideas in forthcoming notes.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-26 00:02 Eric NOULARD   New Issue                                    
======================================================================




More information about the cmake-developers mailing list