digitalocean / prometheus-client-c

A Prometheus Client in C
Other
160 stars 79 forks source link

CMake: add a top-level CMakeLists.txt #83

Open intelfx opened 9 months ago

intelfx commented 9 months ago

This is not the cleanest of solutions, but as long as the two buildsystems are kept reasonably in sync, it will work.

This way it is more convenient to build both libraries at the same time because CMake will take care of setting RPATH at the appropriate moment to link one library against the other one (and clearing it afterwards upon installation).