PDA

View Full Version : File driven build


Jim Warner
03-25-2003, 05:11 PM
I'd like to set up a build process that is driven by a file, containing a list of source files to be built. After digging around a bit, it looks like I'm going to have to write a VBScript to open the file and then iterate through the list of source files to build. For each file in the list, I'm thinking I need to call a visual build subroutine from the VBScript. Am I on the right track, or is there a simpler way to do this? Is it possible to call a visual build subroutine from VBScript? Is there any sample code around that does this kind of thing?

Thanks!

Jim Warner

kalons
03-25-2003, 06:17 PM
Pretty close. Attached is a sample of one way to accomplish this.

Jim Warner
03-25-2003, 07:20 PM
Cool, thanks! That looks like it will do the job. There doesn't seem to be any documentation on the functions AddDelimValue and NextDelimValue, but your code works fine. Thanks again,

Jim

kalons
03-26-2003, 09:07 AM
Those script functions are found, with comments, in the script editor (View | Script Editor, Project tab). The next release of VisBuildPro will have similar functions (with vbld_ prefix) defined in the system scripts and documented in the help.