Just to add to this thread there is some information in one of our guides about using CMake and makefiles here.
I’ve started to gather some notes and will try to create a more prominent section to try to help people that have problems when getting started.