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 /test/ctor.cc | |
parent | f3fedaf53ed90cb5f1eda704c6f199a8b34ecc96 (diff) |
Add argsplit to support multiple arguments in CXXFLAGS, CFLAGS and LDFLAGS.
Diffstat (limited to 'test/ctor.cc')
-rw-r--r-- | test/ctor.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/ctor.cc b/test/ctor.cc index 31c63ab..b7bcc6d 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -12,6 +12,23 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) { .type = ctor::target_type::unit_test, .system = ctor::output_system::build, + .target = "argsplit_test", + .sources = { + "argsplit_test.cc", + "testmain.cc", + "../src/util.cc", + }, + .flags = { + .cxxflags = { + "-std=c++20", "-O3", "-Wall", "-Werror", + "-I../src", "-Iuunit", + "-DOUTPUT=\"argsplit\"", + }, + }, + }, + { + .type = ctor::target_type::unit_test, + .system = ctor::output_system::build, .target = "pointerlist_test", .sources = { "pointerlist_test.cc", |