source_group creates duplicates in Xcode
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
If you add those lines:
source_group("A" FILES "A/a.cpp")
source_group("A\\B" FILES "A/B/b.cpp")
It will create two (2) folders A
in Xcode. One that contains the file a.cpp
and the other that will contain the B
folder. It is the case for the first two source_group()
at each level. Afterward, it seems to merge them correctly.
Edited by Craig Scott