[CMake] Add --help-option command line option.

Rolf Eike Beer eike at sf-mail.de
Fri Apr 20 04:58:19 EDT 2012


> Hi,
>
> I have noticed that most cmake based projects document their options
> in their README file whereas the documentation is already included in
> cmake when you call the option() and set() commands. I hope this
> feature will help to remove this duplication and people will just
> write in their README file a "see cmake --help-options for available
> build options".
>
> Comments?

This sounds like a good idea to me. Don't forget about
CMAKE_DEPENDENT_OPTION ;)

Eike


More information about the CMake mailing list