[documentation] source_group semantics
there's a bit of an under-specification regarding source_group
that i came across when using qt-creator: what is the expected tree structure for the following cmake code?
source_group(foo\\bar FILES inc/foo/bar/x.h src/foo/bar/x.cpp)
afaict xcode/msvc should give
foo
bar
x.h
x.cpp
the behaviour in qtcreator may be different, as it will try to represent the file system as much as possible and will expand the the path inside bar
even more according to their filesystem location.
afaict the main part which is underspecified in the documentation: is the intended semantics that the FILES source_group
will be a flat list (like the current semantics in the xcode/msvc generators)? or are IDEs allowed to expand subfolders inside the source_group?
it would be great to have this well specified to make sure that the project structure looks similar in all IDEs.
for reference: https://bugreports.qt.io/browse/QTCREATORBUG-23372