I am trying to automate my build on Windows.
I would like to build all binaries for 64 and 32bit from the command line without the need to go to the Projucer and manually set the Architecture property in the Release settings of the Visual Studio exporter.
I can build the solution with either:
msbuild Solution.sln /p:Configuration=Release /p:Platform=x64 msbuild Solution.sln /p:Configuration=Release /p:Platform=Win32
devenv Solution.sln /Build "Release|x64" devenv Solution.sln /Build "Release|Win32"
But between building the 64 and 32 bit binaries I need to select next to be build architecture from the Projucer and resave the project.
What I want instead is to completely automate the build (I have a NodeJS/grunt cli build that executes all the tasks).
Anyone has an advice?
- Why does the Projucer makes you choose between the 2 Architectures, since the solution can have both. Can’t the Projucer just setup the 2 Architectures in the solution?