[CMake] CPack option naming and deb generator

Eric Noulard eric.noulard at gmail.com
Sun Sep 30 04:37:11 EDT 2007


2007/9/29, Bill Hoffman <bill.hoffman at kitware.com>:
> I have been busy and have not had time to look at this thread.  I have
> also not had
> a proper chance to look at the the generators that were added to CPack.
> My gut feeling is that all variables should stay prefixed with CPACK_.
> CPACK_DEBIAN_XXXX.    Keeps us from polluting the global namespace
> with arbitrary names and it lets you know that the variable is for use
> in CPack.

OK I'll submit a patch for RPM generator for which all
RPM_<WHATEVER> variables will become
CPACK_RPM_<WHATEVER>

However other CPack design issue discussion remains open:
The main one from my point is:

    Should we try to make CPack extensible through
    100% CMake macro files?
    Or similarly should we be able to write a NEW CPack
    generator consisting in "pure" CMake   macros.
    (no C++)

I'll try to setup a proper patch for that too,
since I am a bit busy too. I may not give a deadline
for that one even if I'm very interesting in the feature.

-- 
Erk


More information about the CMake mailing list