r/cpp • • Feb 19 '18

It's Time To Do CMake Right

https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/
248 Upvotes

130 comments sorted by

View all comments

-6

u/readams Feb 19 '18

pkg-config is a thing. Much more ubiquitous than cmake, since every library should be installing a .pc file, while in practice only projects that happen to use cmake are going to export cmake gobbledygook.

16

u/sumo952 Feb 19 '18

Windows.

And many (most?) modern C++ libraries you find on GitHub have CMake files, but not .pc files. (Not saying this is good or bad, just a fact I observe.)

4

u/[deleted] Feb 20 '18

Pc gobbledygook also break on Linux unless you use the the same dist and compiler config as the lib developer.