Re: How to do (for-each-)loops?
Sebastian Schuberth <[email protected]> Wed, 06 Aug 2008 21:59:08 +0200
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
>> 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? -- Sebastian Schuberth ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/