Compile for all Windows targets

I want to compile for all targets, but I notice that I have to select win 32/64 separately and recompile, then I forget which one its at and spend ages figuring out why changes are not working (LOL).

Is there a way to compile all platforms ticked, and Windows 32bit?

Make yourself a build script and specify what you want to build:

Call BuildApp(3, False) // Win32 Call BuildApp(16, false) // Win64

http://developer.xojo.com/userguide/ide-scripting-building-commands

You can put the script into a folder named “Scripts” next to the project and it will appear in the File > IDE Scripts menu

How can I script the compiler optimasation-level to “agressive” ? and other details like Stage-Code, Language etc. ?

[quote=366735:@Greg O’Lone]

Call BuildApp(3, False) // Win32
Call BuildApp(16, false) // Win64[/quote]

Shouldn’t it be?

Call BuildApp(3, False) // Win32 Call BuildApp(19, false) // Win64

Thanks Sascha. I noticed that while playing with it.