1option
2------
3
4Provide an option that the user can optionally select.
5
6.. code-block:: cmake
7
8  option(<variable> "<help_text>" [value])
9
10Provides an option for the user to select as ``ON`` or ``OFF``.
11If no initial ``<value>`` is provided, ``OFF`` is used.
12If ``<variable>`` is already set as a normal or cache variable,
13then the command does nothing (see policy :policy:`CMP0077`).
14
15If you have options that depend on the values of other options, see
16the module help for :module:`CMakeDependentOption`.
17