summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/prop_dir/EXCLUDE_FROM_ALL.rst
blob: 8e3cca0c238f2f2ce0f2c5b131edd6cc09b26d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
EXCLUDE_FROM_ALL
----------------

Set this directory property to a true value on a subdirectory to exclude
its targets from the "all" target of its ancestors.  If excluded, running
e.g. ``make`` in the parent directory will not build targets the
subdirectory by default.  This does not affect the "all" target of the
subdirectory itself.  Running e.g. ``make`` inside the subdirectory will
still build its targets.

If the :prop_tgt:`EXCLUDE_FROM_ALL` target property is set on a target
then its value determines whether the target is included in the "all"
target of this directory and its ancestors.