2013-10-15 19:17:36 +04:00
|
|
|
option
|
|
|
|
------
|
|
|
|
|
|
|
|
Provides an option that the user can optionally select.
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
option(<option_variable> "help string describing option"
|
|
|
|
[initial value])
|
|
|
|
|
2015-06-05 00:51:22 +03:00
|
|
|
Provide an option for the user to select as ``ON`` or ``OFF``. If no
|
|
|
|
initial value is provided, ``OFF`` is used.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
|
|
|
If you have options that depend on the values of other options, see
|
2015-06-05 00:51:22 +03:00
|
|
|
the module help for :module:`CMakeDependentOption`.
|