Native Visual Studio project files to compile libexpat on Windows
libexpat supports compiling on Windows. However, it uses CMake, which does not produce good solution/projects for Visual Studio.
This project provides native Visual Studio solution/project files that can be used to compile libexpat on Windows.
- git clone libexpat, tested with v2.4.1 into a local folder
- git clone libexpat-x86_x64
- Copy the build folder downloaded above to the root of the libexpat source tree.
- Open the solution in Visual Studio (I used Visual Studio 2019 Community Edition). Select the platform/configuration (like x64/Release) and compile.
As the original project evolves, there is a possibility that these project files can get out of date, specifically when files are added/deleted. Usually, this can be easily fixed by examining the errors when compiling.