Re: [xml] cmake project to build libxml2



Hi Fabian,

On Sat, 28 May 2016 22:39:58 +0200
Fabian Wein <fabian wein fau de> wrote:

Hello,

do you know if someone already wrote a cmake project to build libxml2 (on
Linux and OS-X)?


If you want to link/include-the-headers/etc. of libxml2 in your CMake project
you can try using pkg-config for this.

If you want to build libxml2 from source on Linux or OS X, then you should be
able to use the included GNU Autotools build system, and there isn't really a
need for CMake to be used for that (as much as I like it). There's also
https://github.com/martell/libxml2.cmake but it may be out-of-date and in
general not recommended.

Regards,

        Shlomi Fish


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]