1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-15 23:24:06 +03:00
Bruce Dawson dfbacd4f41 win32\VC10\config.h and VS 2015
--047d7bacb4ee71848a052d7c673a
Content-Type: text/plain; charset=UTF-8

The config.h file in win32\VC10 is incompatible with VS 2015 because VS
2015 provides an implementation of snprintf and prohibits using the
preprocessor to define it. Therefor an ifdef check is needed around that
definition in VC10\config.h. Here is a patch that is compatible with the
change that we made to Chromium's copy:
2016-03-11 16:02:03 +08:00
..
2016-03-11 16:02:03 +08:00
2012-08-13 16:57:30 +08:00

README file for VC10 project files for libxml2
----------------------------------------------

to clarify: This is not the readme file for the whole libxml2 project. 
Rather, it's a readme for the VC10 project files, attached to the libxml2 proejct.

Quick Start
-----------

1) To use, load the libxml2.sln solution file into visual studio
2) check and correct paths for dependent "iconv" project which most certaily 
are wrong on your environment.
3) Compile all projects


Background Info
---------------

Running of "configure.sh" won't make sense since VS doesn't support
this kind of build system and the environment is pretty much known already 
if you're using Visual Studio. Instead, a preconfigured "config.h" file 
is provided in the "win32\VC10" directory and referenced by the project
files already.

The compile process is not completely warning-free: Some warnings will 
appear during compile which can be ignored.