Comment by hedora
Depending on what you’re targeting, you might prioritize compatibility with debian packages over cmake.
Cmake is a hot mess, but gets you windows compatibility.
Debian would work better with the lion’s share of open source c / c++.