summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/user_headerunit2/b/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-02-05 18:22:44 +0100
committerArthur LAURENT <[email protected]>2024-02-05 18:22:44 +0100
commit3a7d68de17f19afadc2f7eec698d54861ecd729d (patch)
tree78fec7d5b63d564b6b03603ea56662b856253ee8 /tests/projects/c++/modules/user_headerunit2/b/xmake.lua
parent6739478d0bf6a4aaf0d1a1caf1c6b60532fa07f8 (diff)
update relevent tests to use moduleonly target rule
Diffstat (limited to 'tests/projects/c++/modules/user_headerunit2/b/xmake.lua')
-rw-r--r--tests/projects/c++/modules/user_headerunit2/b/xmake.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/user_headerunit2/b/xmake.lua b/tests/projects/c++/modules/user_headerunit2/b/xmake.lua
index 24f9c9b1f..9821fcd6d 100644
--- a/tests/projects/c++/modules/user_headerunit2/b/xmake.lua
+++ b/tests/projects/c++/modules/user_headerunit2/b/xmake.lua
@@ -1,5 +1,6 @@
target("b")
add_deps("a")
set_languages("cxxlatest")
- set_kind("object")
- add_files("b.mpp", {public = true})
+ set_kind("headeronly")
+ add_rules("c++.moduleonly")
+ add_files("b.mpp")