I am trying to set up some sort of a nightly build environment that would compile both a x64 and x86 version of a PHP DLL extension.
I have followed this guide to set up the environment and build the extension and it works fine.
At the moment I have two virtual machines, one with x86 and one with x64 versions of Windows (XP and 7).
Is there a way to build both DLLs (32 and 64 bit) in the same virtual machine (I presume this would be the Windows 7 one) using a batch file?
My goal is to set a nightly build "server" but also be able to compile DLLs with the push of a button.
Thanks for any pointers.
The machines that compile the DLLs have Visual Studio 2008 Express and Windows SDK 6 (for the x86) and 7 (for the x64)
In Visual Studio under project properties you fill find Build tab. Clicking on Build tab will show you a dropdown with label Platform target. You can set it to x86 and give it a try. If that fails then you may try with the other option Any CPU..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With