Thank you for the link, I will give it a try. We build the dependencies for our software automatically by cmake external projects. This gives a (very) slight advantage for building by cmake against autotools.
Thanks, Fabian > Am 29.05.2016 um 09:32 schrieb Shlomi Fish <[email protected]>: > > Hi Fabian, > > On Sat, 28 May 2016 22:39:58 +0200 > Fabian Wein <[email protected]> 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 > _______________________________________________ > xml mailing list, project page http://xmlsoft.org/ > [email protected] > https://mail.gnome.org/mailman/listinfo/xml _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] https://mail.gnome.org/mailman/listinfo/xml
