That's odd... all the projects i use document their install process fairly well, most of them using either cmake or autotools.
The only "terrible" scenarios i occasionally encounter is, yes, trying to automate the android toolchain - i blame Google though, not C/C++ as the Android toolchain is intentionally designed to be used with Android Studio and trying to veer of that is increasingly harder.
What really gets to me is that during those two pandemic years the tech industry didn't stop because, wait for it... everybody was working remote, and now they want to gasslight everyone into RTO with a bunch of bullshit arguments because it's better?
Empty
$PATH.