diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-02-23 21:20:47 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-02-23 21:35:09 +0100 |
commit | 7107ac464f3bf1b89d6b759c20a09ecc323f8cb0 (patch) | |
tree | dfb824c6e1ca66a32a16f2a6358695b58ca656a8 /test/ctor.cc | |
parent | 5809172695f0b174ae036dc829e6d3176d926342 (diff) |
WIPcli11
Diffstat (limited to 'test/ctor.cc')
-rw-r--r-- | test/ctor.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/ctor.cc b/test/ctor.cc index fa53802..b8c5c01 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -12,6 +12,24 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings) { .type = ctor::target_type::unit_test, .system = ctor::output_system::build, + .target = "argparser_test", + .sources = { + "argparser_test.cc", + "testmain.cc", + }, + .flags = { + .cxxflags = { + "-std=c++20", "-O3", "-Wall", "-Werror", + "-I../src", "-Iuunit", + "-DOUTPUT=\"argparser\"", + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"}, + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/D_CRT_SECURE_NO_WARNINGS"}, + }, + }, + }, + { + .type = ctor::target_type::unit_test, + .system = ctor::output_system::build, .target = "argsplit_test", .sources = { "argsplit_test.cc", |