Page 1 of 1

many build types from command line

Posted: Mon May 14, 2007 12:13 pm
by maurosturaro
Hi,
I need to build many version of my setup from a batch.
The help tell that miabuild accept a parameter /b=<buildtype> where <buildtype> is 0 or 1 or 2 ...

how can I build all that versions with the same revision number ?
I've try
miabuild myproject.mpr /r /b=0 /b=1 /b=2 {...}

but it build only the uncompressed version.
If I run three different command with can I have the same revison number ?
Is the new revision number saved back to the project file ?

Thanks.

Posted: Tue May 15, 2007 2:13 pm
by MichaelNesmith
The revision number is not saved back to the project file.
What you can do is use a compiler variable for the revision number, and then pass that in during your build.
That way you can do three builds sequentially without using the "/r" parameter.

Posted: Tue May 29, 2007 9:06 am
by maurosturaro
thanks, it works.

But for some future release I suggest an option like /b=12 /r to build single-file AND web based with the same new revision code, like is now possible from user interface.