Undocumented change of behavior when using EXCLUDE_FROM_ALL
Hi CMake community,
the option EXCLUDE_FROM_ALL of add_subdirectory command affects in CMake 3.14.3 the content of the Visual Studio solution file in the added subdirectory.
The difference is subtle: if the subdirectory A added with EXCLUDE_FROM_ALL from source root contains another subdirectory B, a solution file in A does not contain project from B.
The behavior changed between versions 3.13.5 and 3.14.3. Tested also on 3.15.0, which produces same output as 3.14.3.Observed on Win 10 using Visual Studio 16 2019 and Visual Studio 12 2013 Win64 generators.
Test with CodeBlocks - Unix Makefiles generator does not show this issue.