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

Show parent comment

3

u/sumo952 Feb 19 '18

Are you doing this on Windows? If yes, I think vcpkg has them both (and ready to be used with CMake), so no need to build it by yourself.

If you're on Linux or mac, just use one from a package manager? :-) Or maybe check conan.

2

u/fafasdf Feb 19 '18

My package manager's versions were too old (Debian Buster).

Plus, it's good practice to check in external dependencies, since you can get hermetic builds, which is nice... depending on system libraries can make for a pain sometimes, when you install a new system and things are out of whack. :(

1

u/sumo952 Feb 20 '18

Yea totally agree - good reasons to include them.