by CoastalCoder · 3y ago · 0 comments
I've mostly used CMake for my build systems over the past ~20 years.
But recently I got into CUDA programming, and I was put off by the large amount of opaque magic provided by CMake's built-in CUDA support.
It made it somewhat harder to have clarity about the variety of CUDA build commands, which kinds of file each could ingest and produce, and which options they accepted.
As someone new to the entire CUDA toolchain, that magic was more of an impediment than an help.
So for starters I'm just writing a Bash script for building my code. But the next step for automation will be a hand-written Makefile, not a CMakeLists.txt file.
CMake is just a little too high level for my taste. Like I don't really understand how its figuring stuff out under the hood. Now that is of course because I haven't bothered studying up on it, but the point is you don't really have to with Make since the basic concept is dead simple.
Did you have an interest in makemake before? This github repo looks brand new.
https://www.csh.rit.edu/~tommut/tech/makemake.html
I seem to recall there being a similarly named program in the late 80's, early 90's, but it could just be a script some colleague wrote ..
But there has been a C makemake version in 1996, I have used that IIRC.