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

88.12. tinyxml2-11.0.0

Small C++ XML parser (TinyXML-2)

11.0.0-1 · Zlib · 0.2 SBU · 265.1 KiB, 10 files · 41_system, 379 of 1047 · ports/core/formats/tinyxml2

Homepage: https://github.com/leethomason/tinyxml2

Depends on: cmake, ninja.

Required by (5): amiberry, cppcheck, gmsh, kodi, libmediainfo.

Sources: tinyxml2-11.0.0.tar.gz (627.8 KiB). Every step kpkg takes applies to this port.

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

build.sh:

cmake -S . -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DBUILD_SHARED_LIBS=ON \
	-Dtinyxml2_BUILD_TESTING=OFF \
	-Dtinyxml2_INSTALL_PKGCONFIG=ON
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libtinyxml2.so.

Directories: /usr/lib/cmake/tinyxml2, /usr/share/licenses/tinyxml2.