MantisBT - CMake
View Issue Details
0009029CMakeCPackpublic2009-05-14 10:162009-05-14 15:31
Eric NOULARD 
Alex Neundorf 
normalminoralways
closedfixed 
CMake-2-6 
 
0009029: Include CPack RPM documentation inside CPackRPC.cmake itself
I would find it useful to have CPack generator documentation
embbeded in the cmake module they are working with
(when there is some).

This way:
cmake --help-module CPack<XXX> will give valuable information.

The forthcoming patch does this for CPack RPM generator.
No tags attached.
patch CPackRPM-doc.patch (3,609) 2009-05-14 10:16
https://public.kitware.com/Bug/file/2242/CPackRPM-doc.patch
Issue History
2009-05-14 10:16Eric NOULARDNew Issue
2009-05-14 10:16Eric NOULARDFile Added: CPackRPM-doc.patch
2009-05-14 10:20Eric NOULARDNote Added: 0016435
2009-05-14 15:31Alex NeundorfNote Added: 0016444
2009-05-14 15:31Alex NeundorfAssigned To => Alex Neundorf
2009-05-14 15:31Alex NeundorfStatusnew => closed
2009-05-14 15:31Alex NeundorfResolutionopen => fixed

Notes
(0016435)
Eric NOULARD   
2009-05-14 10:20   
I would add that an --help <GENERATOR> may be added to the cpack command
which may use the same file. Says that you want to have CPack DEB generator
documentation;

cmake --help-module CPackDEB
or
cpack --help-generator DEB

will give you the same information.
cmake looks for a file "CPackDEB.cmake" in its search path
whereas cpack may do the same with an automatically prefix "CPack"
put in front of the generator name.
(0016444)
Alex Neundorf   
2009-05-14 15:31   
Thanks for the patch, applied to HEAD.

Alex