mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
When a target is created it now inherits the EXCLUDE_FROM_ALL property from its directory. This change makes it possible to include a target in "all", even if its directory has been marked as EXCLUDE_FROM_ALL.
16 lines
737 B
ReStructuredText
16 lines
737 B
ReStructuredText
EXCLUDE_FROM_ALL
|
|
----------------
|
|
|
|
Exclude the directory from the all target of its parent.
|
|
|
|
A property on a directory that indicates if its targets are excluded
|
|
from the default build target. If it is not, then with a Makefile for
|
|
example typing make will cause the targets to be built. The same
|
|
concept applies to the default build of other generators.
|
|
|
|
Targets inherit the :prop_tgt:`EXCLUDE_FROM_ALL` property from the directory
|
|
that they are created in. When a directory is excluded, all of its targets will
|
|
have :prop_tgt:`EXCLUDE_FROM_ALL` set to ``TRUE``. After creating such a target
|
|
you can change its :prop_tgt:`EXCLUDE_FROM_ALL` property to ``FALSE``. This
|
|
will cause the target to be included in the default build target.
|