Skip to content

Ninja,Makefile: Fix subdir "all" with nested EXCLUDE_FROM_ALL settings

The "all" target defined for a subdirectory (e.g. cd sub; make or ninja sub/all) should not include the "all" targets from nested subdirectories (e.g. sub/sub) that are marked as EXCLUDE_FROM_ALL. Furthermore, it should include targets that are explicitly marked with the EXCLUDE_FROM_ALL OFF target property.

  • Fix subdir "all" with nested EXCLUDE_FROM_ALL subdir.
  • Fix EXCLUDE_FROM_ALL OFF on sub/sub/tgt in sub/all.

Issue: #19753 (closed)

Merge request reports