Post by Vaclav Slavik Post by Sebastian Schuberth
E.g. how would I create a <msvc-file-group> for each name in an array
of strings (which is the output of the fileList() function)?
Even if there was a loop construct, I don't see how would it help with
<msvc-file-group> (which you need *one* per group, not per file, and
which accepts files wildcard as part of its argument).
The list of strings fileList() would return here is not a list of files,
but a list of directories. I'd like to have one <msvc-file-group> per
directory, and put *any* files in that directory into that group. In
other words, I'd like to resemble the directory structure on my hard
disk in the project file. This means that not all header files in the
source code tree go to one group, but to the group in which's directory
they are in.
Is this possible with Bakefile, in a generic way?