summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_DEPENDS_IN_PROJECT_ONLY.rst
blob: 71790714517e78e6d4bc3f2338ae4524c399809c (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_DEPENDS_IN_PROJECT_ONLY
-----------------------------

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.