diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-05 18:22:44 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-05 18:22:44 +0100 |
| commit | 3a7d68de17f19afadc2f7eec698d54861ecd729d (patch) | |
| tree | 78fec7d5b63d564b6b03603ea56662b856253ee8 /tests/projects/c++/modules/link_order/xmake.lua | |
| parent | 6739478d0bf6a4aaf0d1a1caf1c6b60532fa07f8 (diff) | |
update relevent tests to use moduleonly target rule
Diffstat (limited to 'tests/projects/c++/modules/link_order/xmake.lua')
| -rw-r--r-- | tests/projects/c++/modules/link_order/xmake.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/link_order/xmake.lua b/tests/projects/c++/modules/link_order/xmake.lua index b062dbe66..1ae6639bb 100644 --- a/tests/projects/c++/modules/link_order/xmake.lua +++ b/tests/projects/c++/modules/link_order/xmake.lua @@ -3,13 +3,15 @@ set_languages("c++20") target("foo") add_rules("c++") - set_kind("static") - add_files("src/foo.mpp", {public = true}) + set_kind("headeronly") + add_rules("c++.moduleonly") + add_files("src/foo.mpp") target("bar") add_rules("c++") - set_kind("static") - add_files("src/bar.mpp", {public = true}) + set_kind("headeronly") + add_rules("c++.moduleonly") + add_files("src/bar.mpp") target("link_order_1") set_kind("binary") |
