On 03/01/2018 13:02, Elia Tufarolo1 wrote:
We would like to upgrade to the latest 3.2.0 version, but I found out that
it's not possible to get a 32 bit Visual Studio solution through CMake.
I'd like to know if it's still possible to build xerces-C++ at 32 bit, as
it is a fundamental requirement for our software product.
Yes, it should work just fine. If you run cmake from a VS x86 command
prompt you will get a 32-bit nmake build. Or if you specify a 32-bit
Visual Studio generator, you'll get 32-bit project and solution files
for Visual Studio. For example:
cmake -G "Visual Studio 14 2015"
will give you a 32-bit VS2015 build. Add " Win64" onto the end to get a
64-bit build. Change "14 2015" to "12 2013", "11 2012", "10 2010" etc.
to create project and solution files for older visual studio versions.
You can then run msbuild or open in the VS IDE.
http://xerces.apache.org/xerces-c/build-3.html#CMake has instructions
and examples for how to do this. Please let me know if there's anything
we can do to better document the process or if you run into any problems.
Kind regards,
Roger