1EXCLUDE_FROM_ALL 2---------------- 3 4Set this target property to a true (or false) value to exclude (or include) 5the target from the "all" target of the containing directory and its 6ancestors. If excluded, running e.g. ``make`` in the containing directory 7or its ancestors will not build the target by default. 8 9If this target property is not set then the target will be included in 10the "all" target of the containing directory. Furthermore, it will be 11included in the "all" target of its ancestor directories unless the 12:prop_dir:`EXCLUDE_FROM_ALL` directory property is set. 13 14With ``EXCLUDE_FROM_ALL`` set to false or not set at all, the target 15will be brought up to date as part of doing a ``make install`` or its 16equivalent for the CMake generator being used. 17 18If a target has ``EXCLUDE_FROM_ALL`` set to true, it may still be listed 19in an :command:`install(TARGETS)` command, but the user is responsible for 20ensuring that the target's build artifacts are not missing or outdated when 21an install is performed. 22 23This property may use "generator expressions" with the syntax ``$<...>``. See 24the :manual:`cmake-generator-expressions(7)` manual for available expressions. 25 26Only the "Ninja Multi-Config" generator supports a property value that varies by 27configuration. For all other generators the value of this property must be the 28same for all configurations. 29