ring ring
There's no GUI for it (yet), but I have been using it for 2 months now, and no problems discovered.
How does it work :
- you specify which directories should be searched for source files
- recursively or not
- you can specify a pattern/wildcard (by default it uses the same wildcard as CB uses when you add files recursively to a project through the gui)
New file in the directory are only picked up when the project is loaded, so you might need to reload the project (workspace) [we don't have a project reload command (??yet??)], or you can later on extra files to the project as in the past. At save time of the project extra added files that are actually covered by the glob entries will be removed as separate unit entries since the glob covers them.
Limitations : this is more or less an "all are equal approach", the moment you specify specific build options per file, there might be inconsistencies, and more business logic, or user feedback will be needed.
But if you can live with the "all are equal" approach this feature rocks
Typical examples :
<UnitsGlob directory="src" recursive="1" />
<UnitsGlob directory="include" recursive="1" />