If you are invoking Visual Build via the command-line, simply pass appropriate macro values, which can be used in the .bld file as necessary.
See
http://www.kinook.com/Forum/showthre...&threadid=1436 for a sample. If you are using the console app, change VisbuildPro.exe to VisbuildCmd.exe.