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. --- test/ctor.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/ctor.cc') diff --git a/test/ctor.cc b/test/ctor.cc index 31c63ab..b7bcc6d 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -9,6 +9,23 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) { return { + { + .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, -- cgit v1.2.3