summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_CXX_SCAN_FOR_MODULES.rst
blob: a40bf7524a7722d1fe3b433a60e1c79eb3b6ea8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CMAKE_CXX_SCAN_FOR_MODULES
--------------------------

.. versionadded:: 3.26

Whether to scan C++ source files for module dependencies.

This variable is used to initialize the :prop_tgt:`CXX_SCAN_FOR_MODULES`
property on all the targets.  See that target property for additional
information.

.. note ::

  This setting is meaningful only when experimental support for C++ modules
  has been enabled by the ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API`` gate.