From 7b493a531decb401ab9b141dd2d7aa7d1338fbdf Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 27 Jan 2026 19:42:57 +0100 Subject: Clean up target_type usage a bit and add new ctor::target_type::module type. --- test/source_type_test.cc | 2 +- test/tasks_test.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/source_type_test.cc b/test/source_type_test.cc index 657260e..90e77cf 100644 --- a/test/source_type_test.cc +++ b/test/source_type_test.cc @@ -39,7 +39,7 @@ class TestableTaskCC { public: TestableTaskCC(const ctor::source& source) - : TaskCC({}, {}, "build", source) + : TaskCC(ctor::target_type::object, {}, {}, "build", source) {} ctor::language language() const diff --git a/test/tasks_test.cc b/test/tasks_test.cc index cbd0864..1276347 100644 --- a/test/tasks_test.cc +++ b/test/tasks_test.cc @@ -72,7 +72,7 @@ public: const ctor::settings& settings, const std::string& name, bool dirty, const std::vector& deps = {}) - : Task(config, settings, {}) + : Task(ctor::target_type::executable, config, settings, {}) , task_name(name) , task_dirty(dirty) , task_deps(deps) -- cgit v1.2.3