This is a collection of CMake modules used and maintained by the Accelerated Big Data Systems group.
Currently the following modules are available.
Module | Description |
---|---|
CompileUnits | Opinionated and boilerplate free CMake for C++ projects by definition of compilation units |
More information and examples are available inside the module directories.
Use the FetchContent module to add the modules to your tree:
include(FetchContent)
FetchContent_Declare(cmake-modules
GIT_REPOSITORY https://github.com/abs-tudelft/cmake-modules.git
GIT_TAG master
)
FetchContent_MakeAvailable(cmake-modules)
Include the module of interest:
include(<some-module>)
You can also use any other method to add the CMake module of interest to your source tree and append the path of the CMake module to the CMAKE_MODULE_PATH
variable:
list(APPEND CMAKE_MODULE_PATH <path-to-cmake-module>)
Include the module:
include(<the-module>)