figcone_yaml - is a rapidyaml
configuration parser adapter for figcone
library.
Download and link the library from your project's CMakeLists.txt:
cmake_minimum_required(VERSION 3.14)
include(FetchContent)
FetchContent_Declare(figcone_yaml
GIT_REPOSITORY "https://github.com/kamchatka-volcano/figcone_yaml.git"
GIT_TAG "origin/master"
)
#uncomment if you need to install figcone_yaml with your target
#set(INSTALL_FIGCONE_YAML ON)
FetchContent_MakeAvailable(figcone_yaml)
add_executable(${PROJECT_NAME})
target_link_libraries(${PROJECT_NAME} PRIVATE figcone::figcone_yaml)
For the system-wide installation use these commands:
git clone https://github.com/kamchatka-volcano/figcone_yaml.git
cd figcone_yaml
cmake -S . -B build
cmake --build build
cmake --install build
Afterwards, you can use find_package() command to make the installed library available inside your project:
find_package(figcone_yaml 0.9.0 REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE figcone::figcone_yaml)
cd figcone_yaml
cmake -S . -B build -DENABLE_TESTS=ON
cmake --build build
cd build/tests && ctest
figcone_yaml is licensed under the MS-PL license