SOURCE_GROUP creates empty groups in the same VS project
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
For the following lines extracted from the CMakeLists.txt
source_group("Extra Headers L1\\Extra Headers L2\\Extra Headers L3")
source_group("Extra Headers")
the following source group is created in the VS project
Extra Headers L1\Extra Headers L2
On the other hand, the Extra Headers
source group is not created.
This behavior is neither consistent (one empty source group is created - most likely because it is nested, another one is not created), nor as expected.
Expected behavior: do not create empty source groups (or at least do not display them in the VS project view), even if they are nested.
Edited by Craig Scott