From be2184d36d4492e43fbed1f6581fa26636d803ac Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 3 Feb 2026 21:54:09 +0100 Subject: Remove ctor::flags construct and apply tool specific flags (ie. ctor::cxx_flags, ...) directly in build config. Loosen generator requirements, to allow for lambda's directly. --- ctor.cc | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'ctor.cc') diff --git a/ctor.cc b/ctor.cc index 9a82cf5..76488a5 100644 --- a/ctor.cc +++ b/ctor.cc @@ -32,19 +32,17 @@ ctor::build_configurations ctorConfigs(const ctor::settings& settings) "src/util.cc", "src/unittest.cc", }, - ctor::flags{ - ctor::cxx_flags{ - "-std=c++20", - "-O3", - "-g", - "-Wall", - "-Wextra", - "-Wshadow", - "-Wconversion", -// "-Wnrvo", - "-Isrc", - "-fexceptions", - }, + ctor::cxx_flags{ + "-std=c++20", + "-O3", + "-g", + "-Wall", + "-Wextra", + "-Wshadow", + "-Wconversion", +// "-Wnrvo", + "-Isrc", + "-fexceptions", }, } }; -- cgit v1.2.3