You can structure your project to read and iterate over data from a text file, XML file, database, etc.
http://www.kinook.com/Forum/showthread.php?threadid=231
You can also dynamically generate a .bld file from some inputs and build that.
http://www.visualbuild.com/Manual/scriptsample.htm