CMakerer is a small open source tool that was created to deal with the problem of tricky-to-load C/C++ codebases. CMakerer scans for C/C++ files and parses their #include
directives to identify potential include paths. It then generates a CMakeLists.txt
file for the entire codebase. While such files will not likely enable buildable code, and also may require #defines DEFINES
to be provided via additional add_definitions(-DDEFINES)
statements (e.g. to enable certain #if(def)
guards), this makes it significantly simpler to load a otherwise complex codebase with custom build configuration, into an IDE like CLion.
CMakerer can be downloaded from https://www.github.com/nccgroup/cmakerer, or installed with pip3 install --user cmakerer
.