Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

88.24. yaml-cpp-0.9.0

YAML 1.2 parser and emitter for C++

0.9.0-1 · MIT · 2.0 SBU · 776.7 KiB, 47 files · 41_system, 554 of 1047 · ports/core/formats/yaml-cpp

Homepage: https://github.com/jbeder/yaml-cpp

Depends on: cmake, ninja.

Required by (3): freecad, opencolorio, qt-creator.

Sources: yaml-cpp-0.9.0.tar.gz (1.0 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install yaml-cpp'

build.sh:

mkdir build && cd build
cmake .. -G Ninja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DYAML_BUILD_SHARED_LIBS=ON \
	-DYAML_CPP_BUILD_TESTS=OFF \
	-DYAML_CPP_BUILD_TOOLS=OFF \
	-DYAML_CPP_FORMAT_SOURCE=OFF
ninja
DESTDIR=$PKG ninja install

Libraries: libyaml-cpp.so.

Directories: /usr/include/yaml-cpp, /usr/lib/cmake/yaml-cpp, /usr/share/licenses/yaml-cpp.