Compile Windows x86 and x64 side-by-side
Posted: 2010-07-23, 15:32
Hi Carsten,
I realised a little while ago that building on a x64 Windows machine will only build x64, and not have an easy way to force it to build x86 with just a compile flag to SCons, which brings me to the second point that x64 and x86 builds appear to go to the same directory.
When developing on Windows, it is often useful to have both x86 and x64 built at the same time so that one can test that a change doesn't inadvertently break the build for the other architecture.
Is it possible to modify Cafu to build x86 and x64 targets in separate output folders, and if possible either have a flag or environment variable set to trigger building one version or the other, or even both at the same time (providing the build tools are installed)? Considering that almost all Windows boxes with x64 build tools also have x86, and a large user base of windows is still x86, if one was building a x64 game, chances are a x86 release would be provided as well.
Can't wait for VS2010 support as well, means I can finally uninstall VS2008
I realised a little while ago that building on a x64 Windows machine will only build x64, and not have an easy way to force it to build x86 with just a compile flag to SCons, which brings me to the second point that x64 and x86 builds appear to go to the same directory.
When developing on Windows, it is often useful to have both x86 and x64 built at the same time so that one can test that a change doesn't inadvertently break the build for the other architecture.
Is it possible to modify Cafu to build x86 and x64 targets in separate output folders, and if possible either have a flag or environment variable set to trigger building one version or the other, or even both at the same time (providing the build tools are installed)? Considering that almost all Windows boxes with x64 build tools also have x86, and a large user base of windows is still x86, if one was building a x64 game, chances are a x86 release would be provided as well.
Can't wait for VS2010 support as well, means I can finally uninstall VS2008