[CMake] show cpack variables

Eric Noulard eric.noulard at gmail.com
Wed Jan 18 13:27:31 EST 2012


2012/1/18 Eric Noulard <eric.noulard at gmail.com>:
> 2012/1/18 Andrea Crotti <andrea.crotti.0 at gmail.com>:
>> cmake --help-variable-list shows me all the global variables defined, but
>> how do I
>> see for example all the possible variables that are defined only when I
>> include cpack?
>>
>> And how do I get the documentation for a function like cpack_add_component
>> for example?
>
> This is a work-in-progress:
> http://public.kitware.com/Bug/view.php?id=10067
>
> which not progressing too fast currently because I lack time.
> I'll try to push some branch with the beginning of the work this Week-End
> this should makes it easier for other to join the effort.

In the meantime you could try

cmake --help-module CPack
cmake --help-module CPackComponent
cmake --help-module CPackRPM

or open the corresponding CPack<Name>.cmake files and read the initial
comment block.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list