• Brad King's avatar
    Restore "all" target in subdirectories marked EXCLUDE_FROM_ALL · b3b1c7bf
    Brad King authored
    The "all" target in each directory is supposed to have targets from that
    directory even if the directory itself is marked `EXCLUDE_FROM_ALL` in
    its parent.  This was broken by commit dc688857 (Pass EXCLUDE_FROM_ALL
    from directory to targets, 2019-01-15, v3.14.0-rc1~83^2) which made the
    participation of a target in "all" independent of context.  Revert much
    of the logic change from that commit to restore the old behavior.  Then
    re-implement the behavior intended by the commit to keep its test
    working.  Extend the test to cover the old behavior too.
    
    Fixes: #19753
    b3b1c7bf
Name
Last commit
Last update
..
CMP0082 Loading commit data...
CMP0082-ExcludeFromAll Loading commit data...
CMP0082-Nested Loading commit data...
CMP0082-NestedSub Loading commit data...
CMP0082-None Loading commit data...
ExcludeFromAll Loading commit data...
Function Loading commit data...
Missing Loading commit data...
CMP0082-NEW-install-component-stdout.txt Loading commit data...
CMP0082-NEW-install-stdout.txt Loading commit data...
CMP0082-NEW.cmake Loading commit data...
CMP0082-OLD-install-component-stdout.txt Loading commit data...
CMP0082-OLD-install-stdout.txt Loading commit data...
CMP0082-OLD.cmake Loading commit data...
CMP0082-WARN-Nested-install-component-stdout.txt Loading commit data...
CMP0082-WARN-Nested-install-stdout.txt Loading commit data...
CMP0082-WARN-Nested-stderr.txt Loading commit data...
CMP0082-WARN-Nested.cmake Loading commit data...
CMP0082-WARN-NestedSub-install-component-stdout.txt Loading commit data...
CMP0082-WARN-NestedSub-install-stdout.txt Loading commit data...
CMP0082-WARN-NestedSub-stderr.txt Loading commit data...
CMP0082-WARN-NestedSub.cmake Loading commit data...
CMP0082-WARN-NoTopInstall-install-component-stdout.txt Loading commit data...
CMP0082-WARN-NoTopInstall-install-stdout.txt Loading commit data...
CMP0082-WARN-NoTopInstall.cmake Loading commit data...
CMP0082-WARN-None-install-component-stdout.txt Loading commit data...
CMP0082-WARN-None-install-stdout.txt Loading commit data...
CMP0082-WARN-None.cmake Loading commit data...
CMP0082-WARN-install-component-stdout.txt Loading commit data...
CMP0082-WARN-install-stdout.txt Loading commit data...
CMP0082-WARN-stderr.txt Loading commit data...
CMP0082-WARN.cmake Loading commit data...
CMakeLists.txt Loading commit data...
DoesNotExist-result.txt Loading commit data...
DoesNotExist-stderr.txt Loading commit data...
DoesNotExist.cmake Loading commit data...
ExcludeFromAll-build-sub-stderr.txt Loading commit data...
ExcludeFromAll.cmake Loading commit data...
Function-stdout.txt Loading commit data...
Function.cmake Loading commit data...
Missing-result.txt Loading commit data...
Missing-stderr.txt Loading commit data...
Missing.cmake Loading commit data...
RunCMakeTest.cmake Loading commit data...
main.cpp Loading commit data...