LambdaCMakeModules is a project which contains a lot of CMake scripts to make developer's life easier in C/C++ development. LCMM provides scripts to find various libraries, easier compilation and installation generation script.
It is recommended to use the Git's submodule subsystem to import these scripts, in your git root just execute:
git submodule add https://github.com/LambdAurora/lcmm.git cmake
When the scripts are cloned into the cmake
directory, add the following code to your CMakeLists.txt
:
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
Now you can use these scripts in your project.