diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-02-06 17:27:18 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-02-06 17:27:18 +0100 |
commit | 608addf75a6283d6db9467dc27272a9e28fe4670 (patch) | |
tree | 68d63c29ede9d4eec64f3a0c8a2a7fdc651af738 /src/util.h | |
parent | f3fedaf53ed90cb5f1eda704c6f199a8b34ecc96 (diff) |
Add argsplit to support multiple arguments in CXXFLAGS, CFLAGS and LDFLAGS.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,3 +28,6 @@ std::vector<std::string> get_paths(const std::string& path_env = std::getenv("PA std::string locate(const std::string& app, const std::vector<std::string>& paths, const std::string& arch = {}); + +//! Splits string into tokens adhering to quotations " and ' +std::vector<std::string> argsplit(const std::string& str); |