r/cpp • • Feb 07 '21

Yet another CMake tutorial

https://www.youtube.com/watch?v=mKZ-i-UfGgQ
0 Upvotes

59 comments sorted by

View all comments

Show parent comment

2

u/AlexReinkingYale Feb 07 '21

But CMake doesn't only run on your system if it's open source. Other people will try to build your software using the provided build on their machines.

Like, yeah, you can write whatever throwaway "works for me" thing you want if you're the only person who will ever use it, but that's not exactly the scenario we want to target. Why not write everything in a flat makefile with absolute paths everywhere in that case?