CMake/Help/variable/CMAKE_DEPENDS_IN_PROJECT_ONLY.rst
Kitware Robot 496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.

Issue: #19715
2020-07-06 10:23:20 -04:00

13 lines
500 B
ReStructuredText

CMAKE_DEPENDS_IN_PROJECT_ONLY
-----------------------------
.. versionadded:: 3.6
When set to ``TRUE`` in a directory, the build system produced by the
:ref:`Makefile Generators` is set up to only consider dependencies on source
files that appear either in the source or in the binary directories. Changes
to source files outside of these directories will not cause rebuilds.
This should be used carefully in cases where some source files are picked up
through external headers during the build.