mlpack_random_forest_revamp This code is for demonstration purposes only. "random_forest" directory contains the refactored code for _main.cpp files. Also, take a look at the CMakeLists.txt inside random_forest directory, to know how the CMake macros are called, and how is grouping done.