From e85a871e579ef77b6b226249d199a50d8a91f08f Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 25 Jul 2024 16:18:20 +0200 Subject: Adapt object-library test to the removal of object libraries ... in a5a98b35fc9a710e723673946ea5c769274b9ddb. Instead, use a "configure" target to configure the library as being an object library. --- tests/test_cases/deps/object/TARGETS | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_cases/deps/object/TARGETS b/tests/test_cases/deps/object/TARGETS index 98d7bdb..412d2ea 100644 --- a/tests/test_cases/deps/object/TARGETS +++ b/tests/test_cases/deps/object/TARGETS @@ -8,8 +8,14 @@ , "stage": ["foo"] } , "bar": + { "type": "configure" + , "target": "bar (plain)" + , "config": + {"type": "singleton_map", "key": "BUILD_OBJECT_ONLY", "value": "true"} + } +, "bar (plain)": { "type": ["@", "rules", "CC", "library"] - , "object_only": ["yes"] + , "name": ["bar"] , "hdrs": ["bar.hpp"] , "srcs": ["bar.cpp"] , "stage": ["bar"] -- cgit v1.2.3