Sha256: 31e7a228918ece89b5ff91e806cd550ef1bcbd30e6aec00ac85aa3c419987a21

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

option
------

Provide an option that the user can optionally select.

.. code-block:: cmake

  option(<variable> "<help_text>" [value])

Provides an option for the user to select as ``ON`` or ``OFF``.
If no initial ``<value>`` is provided, ``OFF`` is used.
If ``<variable>`` is already set as a normal variable
then the command does nothing (see policy :policy:`CMP0077`).

If you have options that depend on the values of other options, see
the module help for :module:`CMakeDependentOption`.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zxing_cpp_no_cmake-0.1.2 ext/zxing/cmake/share/cmake-3.16/Help/command/option.rst