I’m trying to build libxml2 2.14.5 with cmake on Windows in such a way that the libraries generated can be used to build PHP. I had no issue accomplishing this with the deprecated method of building libxml2, but switching to cmake, PHP refuses to build with linker errors no matter what settings I use to build.
Can anybody enlighten me on the correct configuration for building libxml2 with cmake and which files are required to build PHP successfully?