From 168e19a707b9b086a583df031b23aa33f0ca16ac Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 17 Jun 2024 10:49:42 +0200 Subject: Add utility function for prefixing each line of a string ... and thus allowing proper quoting of command output. --- src/utils/cpp/TARGETS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/cpp/TARGETS') diff --git a/src/utils/cpp/TARGETS b/src/utils/cpp/TARGETS index 2089b75a..68c67be8 100644 --- a/src/utils/cpp/TARGETS +++ b/src/utils/cpp/TARGETS @@ -107,4 +107,10 @@ , "deps": [["@", "gsl", "", "gsl"]] , "stage": ["src", "utils", "cpp"] } +, "prefix": + { "type": ["@", "rules", "CC", "library"] + , "name": ["prefix"] + , "hdrs": ["prefix.hpp"] + , "stage": ["src", "utils", "cpp"] + } } -- cgit v1.2.3