drobilla / serd

A lightweight C library for RDF syntax
https://gitlab.com/drobilla/serd
ISC License
86 stars 15 forks source link

Add a minimal CMakeLists file. #28

Closed MartyLake closed 2 years ago

MartyLake commented 4 years ago

Does not support all the build option nor the installation options.

MartyLake commented 4 years ago

Hey, so I have tried to add some minimal cmake support. It does not look so bad I guess. I did not understand all the wscript options, and I am not familiar with what "install" means for cmake, nor for any cpp library in that regard. Feel free to close this issue when you are done with it (I don't mind merging or not).

drobilla commented 4 years ago

Cool, thanks. I'd be curious to see exactly what issue you had with waf though. cmake is useful anyway because it has better IDE support, but I tried to build on a Windows machine with no pkg-config or any other third party stuff that I know of, and it worked for me.

MartyLake commented 4 years ago

I have not tried waf because I want to limit the amount of tools I need to build my toy-projects. Right now it's just CMake and the visual studio compiler tools.

Now I will try to use your wonderful library, let's see how it goes :D