summaryrefslogtreecommitdiff
path: root/src/utils/cpp/TARGETS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-17 10:49:42 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-17 14:52:52 +0200
commit168e19a707b9b086a583df031b23aa33f0ca16ac (patch)
treee404920772ffa21ad42da3a3fa22e9b4b00ab229 /src/utils/cpp/TARGETS
parent8dcb7cf40a5303d31d127fa3fd0ee0501448ead6 (diff)
downloadjustbuild-168e19a707b9b086a583df031b23aa33f0ca16ac.tar.gz
Add utility function for prefixing each line of a string
... and thus allowing proper quoting of command output.
Diffstat (limited to 'src/utils/cpp/TARGETS')
-rw-r--r--src/utils/cpp/TARGETS6
1 files changed, 6 insertions, 0 deletions
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"]
+ }
}