[CMake] How to list user-definable CMake variables
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Sep 28 14:27:21 EDT 2010
On Tuesday 28 September 2010, 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.
Run cmake-gui, and check which variables appear after the first configure run
in the non-advanced section. This should be the variables intended to be
changed by the user (the one who compiles)
Alex
More information about the CMake
mailing list