Notes |
|
(0025493)
|
Eric NOULARD
|
2011-02-18 14:52
|
|
This topic was discussed here:
http://www.cmake.org/pipermail/cmake/2011-February/042564.html [^]
and the conclusion was the suffix -ALL should be removed:
http://www.cmake.org/pipermail/cmake/2011-February/042575.html [^]
I'll do that for ArchiveGenerator and RPM as soon
as CPackRPM-HonorAllComponentWays is merged (or refused) to master.
It would be better do it all at once.
Concerning the DISPLAY name I think it would be bad idea to use it
for RPM because I did never crossed an RPM with space (character)
in it and space are just a unwanted pain to escape when working with
command line on Unix.
For ArchiveGenerator it may be discussed.
May be it would be nice for ZIP but not so nice to TGZ, TBZ2, STGZ etc...
for the very same reason as for RPM.
May be the default behavior of this could be set by the user using
some toggle CPACK_<GEN>_USE_DISPLAY_NAME_AS_FILENAME ON/OFF? |
|
|
(0025496)
|
Clinton Stimpson
|
2011-02-18 16:11
|
|
Not all display names have spaces do they?
I know cmake puts '_' in for spaces and ".." in paths for compiling files, but that's entirely transparent to the user, and it probably makes no difference what the substitution is.
But in this case, it comes back to the user, and is based on user input. The user has complete control if no substitutions occur.
If we need to add a variable to say whether to use display names for the file name, that's fine. |
|
|
(0025497)
|
Eric NOULARD
|
2011-02-18 16:48
|
|
No you are right not all of them have space.
I just thought that since DISPLAY name are shared among possibly
several type of CPack Generators so that user's favorite choice for
one generator may be different for another, even if there is
still a single DISPLAY name.
Some generator like NSIS would definitely prefer
"nice" DISPLAY name with most of the time space in it
see example here:
http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack#CPack_Generator_specific_behavior [^]
Whereas some other (RPM, DEB) wouldn't want to use
such name as filename.
ArchiveGenerators may be somewhere in the middle.
I'd like to find a sensible default behavior knowing that
all of this could be customized on a per-generator basis
by using CPACK_PROJECT_CONFIG_FILE. |
|
|
(0025498)
|
Clinton Stimpson
|
2011-02-18 16:54
|
|
It could default CPACK_<GEN>_USE_DISPLAY_NAME_AS_FILENAME=OFF |
|
|
(0025555)
|
Eric NOULARD
|
2011-02-22 18:08
|
|
Merge topic 'CPack-ChangeComponentNamingScheme' into next
4deb308 CPack Authorize DISPLAY_NAME usage in component package
8c450f6 CPack remove "-ALL" suffix for ALL-IN-ONE packages |
|
|
(0025916)
|
Eric NOULARD
|
2011-03-27 13:00
|
|
|