From 9aac0fd369b87e965fb34b5168646387de7ea1cd Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 23 Feb 2026 11:19:52 +0100 Subject: implement yaml generation (#774) this implements a yaml generation strategy similar to the JSON generation where we just build a string instead of building a ryml tree. This also removes the dependency on ryml for reduced binary/build times. --- thirdparty/ryml/samples/singleheaderlib/lib.cpp | 2 -- thirdparty/ryml/samples/singleheaderlib/run_shared.sh | 10 ---------- thirdparty/ryml/samples/singleheaderlib/run_static.sh | 10 ---------- 3 files changed, 22 deletions(-) delete mode 100644 thirdparty/ryml/samples/singleheaderlib/lib.cpp delete mode 100755 thirdparty/ryml/samples/singleheaderlib/run_shared.sh delete mode 100755 thirdparty/ryml/samples/singleheaderlib/run_static.sh (limited to 'thirdparty/ryml/samples/singleheaderlib') diff --git a/thirdparty/ryml/samples/singleheaderlib/lib.cpp b/thirdparty/ryml/samples/singleheaderlib/lib.cpp deleted file mode 100644 index aa33e6e17..000000000 --- a/thirdparty/ryml/samples/singleheaderlib/lib.cpp +++ /dev/null @@ -1,2 +0,0 @@ -#define RYML_SINGLE_HDR_DEFINE_NOW -#include diff --git a/thirdparty/ryml/samples/singleheaderlib/run_shared.sh b/thirdparty/ryml/samples/singleheaderlib/run_shared.sh deleted file mode 100755 index 372a36772..000000000 --- a/thirdparty/ryml/samples/singleheaderlib/run_shared.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -x - -# take the build type from the command line, or default to release -cfg=${1:-Release} -# make sure to run from where this file is -cd $(dirname $0) -# configure the sample -cmake -S . -B ./build/$cfg-shared -DCMAKE_BUILD_TYPE=$cfg -DBUILD_SHARED_LIBS=ON -# build and run the sample -cmake --build ./build/$cfg-shared --config $cfg --target run diff --git a/thirdparty/ryml/samples/singleheaderlib/run_static.sh b/thirdparty/ryml/samples/singleheaderlib/run_static.sh deleted file mode 100755 index d0e570215..000000000 --- a/thirdparty/ryml/samples/singleheaderlib/run_static.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -x - -# take the build type from the command line, or default to release -cfg=${1:-Release} -# make sure to run from where this file is -cd $(dirname $0) -# configure the sample -cmake -S . -B ./build/$cfg-static -DCMAKE_BUILD_TYPE=$cfg -DBUILD_SHARED_LIBS=OFF -# build and run the sample -cmake --build ./build/$cfg-static --config $cfg --target run -- cgit v1.2.3