Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.91 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.91 KB

vrm_pp

Lightweight C++ preprocessor library.

build stability license gratipay badge.cpp on-wandbox on-godbolt

Intended usage (quick start)

  1. 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
  2. Include vrm_cmake in your project's CMakeLists.txt and look for the vrm_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)