Yaml-cpp-0.8.0

Introduction to Yaml-cpp

yaml-cpp is a YAML parser and emitter in C++, written around the YAML 1.2 spec.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

Yaml-cpp Dependencies

Required

CMake-4.1.3

Installation of Yaml-CPP

Prepare yaml-cpp by executing the following commands:

cmake -B build -G Ninja                 \
    -D CMAKE_INSTALL_PREFIX=/usr        \
    -D CMAKE_BUILD_TYPE=Release         \
    -D BUILD_SHARED_LIBS=ON             \
    -D YAML_BUILD_SHARED_LIBS=ON        \
    -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
    -D YAML_CPP_BUILD_TOOLS=OFF         \
    -D YAML_CPP_BUILD_TESTS=OFF

To Build yaml-cpp issue:

ninja -C build

This package does not come with a test suite.

To Install yaml-cpp, as the root user:

ninja -C build install

Contents

Installed Programs: None
Installed Libraries: /usr/lib/libyaml-cpp.so.0.8.0
Installed Directories: /usr/include/yaml-cpp/{contrib,node/{,detail}}/*.h,