CMake work-in-progress alternative for https://github.com/LaylConway/SquareCubed