[CMake] How to list user-definable CMake variables

Michael Wild themiwi at gmail.com
Tue Sep 28 03:51:31 EDT 2010


On 28. Sep, 2010, at 9:33 , Marcel Loose wrote:

> Hi all,
> 
> I was wondering how I could generate a list of user-definable CMake
> variables. This list, with a brief help per variable, would be *very*
> useful for the end-user. It's a bit like the well-known "configure
> --help" which gives you a overview of all variables that can be set.
> 
> Best regards,
> Marcel Loose.

Is "cmake -LAH" what you want?

Michael

--
There is always a well-known solution to every human problem -- neat, plausible, and wrong.
H. L. Mencken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100928/01d10cd9/attachment.pgp>


More information about the CMake mailing list