Describe the bug
The source_group call is/was ill formed and didn't organize sources with source_group(TREE for IDE projects.
To Reproduce
- Generate a new project based on the template on windows
- Add a preset for the msbuild generator based on
x64-windows-msvc
- Invoke cmake with the preset
- Open the generated solution with Visual Studio
Observe that all project source files are grouped into Header Files and Source Files directories.
Expected behavior
The project source files should be grouped in a tree similar to the filesystem layout.
Environment
Describe the bug
The
source_groupcall is/was ill formed and didn't organize sources withsource_group(TREEfor IDE projects.To Reproduce
x64-windows-msvcObserve that all project source files are grouped into
Header FilesandSource Filesdirectories.Expected behavior
The project source files should be grouped in a tree similar to the filesystem layout.
Environment