From 608addf75a6283d6db9467dc27272a9e28fe4670 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 6 Feb 2025 17:27:18 +0100 Subject: Add argsplit to support multiple arguments in CXXFLAGS, CFLAGS and LDFLAGS. --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 0a90049..8b41014 100644 --- a/src/util.h +++ b/src/util.h @@ -28,3 +28,6 @@ std::vector get_paths(const std::string& path_env = std::getenv("PA std::string locate(const std::string& app, const std::vector& paths, const std::string& arch = {}); + +//! Splits string into tokens adhering to quotations " and ' +std::vector argsplit(const std::string& str); -- cgit v1.2.3