Home

Awesome

vrm_core

General-purpose C++17 utility library.

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

Intended usage (quick start)

  1. Add this repository, SuperV1234/vrm_cmake and SuperV1234/vrm_pp 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
    git submodule add   https://github.com/SuperV1234/vrm_core.git    your_project/extlibs/vrm_core
    
  2. Include vrm_cmake in your project's CMakeLists.txt and look for the vrm_pp and vrm_core extlibs:

    # Include `vrm_cmake`:
    list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/vrm_cmake/cmake/")
    include(vrm_cmake)
    
    # Find `vrm_pp` and `vrm_core`:
    vrm_cmake_find_extlib(vrm_pp)
    vrm_cmake_find_extlib(vrm_core)
    

(Altenatively, only add vrm_core and vrm_cmake as submodules, and recursively pull submodules to let vrm_core find vrm_pp.)