News for hackers. Stuff that matters.
Re:Advice to my younger self: become allergic to the churn by umvi on Thursday August 08, 2019 @10:29AM (#20644911)
> How does CMake detect the files that a given product depends on; does it have language-specific dependency detection or something else?

Well actually, CMake is a build system generator - and the default build system it generates is Unix Makefiles. So I assume CMake generates Makefiles with the appropriate automatic dependency detection baked in, I'm not sure.

The important part was that it eliminated human error on our team and we haven't had dependency graph problems since.

Re:Advice to my younger self: become allergic to the churn by deng on Thursday August 08, 2019 @10:50AM (#20645091)
CMake has its own dependency scanner for C/C++. Look for a file 'depend.make' and you'll see the header dependencies that CMake has detected, minus the headers that CMake thinks are system headers.