Lightweight C++ preprocessor library.
-
Add this repository and SuperV1234/vrm_cmake as submodules of your project, as subfolders in
your_project/extlibs/
:git submodule add https://github.com/SuperV1234/vrm_cmake.git your_project/extlibs/vrm_cmake git submodule add https://github.com/SuperV1234/vrm_pp.git your_project/extlibs/vrm_pp
-
Include
vrm_cmake
in your project'sCMakeLists.txt
and look for thevrm_pp
extlib:# Include `vrm_cmake`: list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/vrm_cmake/cmake/") include(vrm_cmake) # Find `vrm_pp`: vrm_cmake_find_extlib(vrm_pp)