summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/user_headerunit2/a/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/a/xmake.lua
parent6739478d0bf6a4aaf0d1a1caf1c6b60532fa07f8 (diff)
update relevent tests to use moduleonly target rule
Diffstat (limited to 'tests/projects/c++/modules/user_headerunit2/a/xmake.lua')
-rw-r--r--tests/projects/c++/modules/user_headerunit2/a/xmake.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/user_headerunit2/a/xmake.lua b/tests/projects/c++/modules/user_headerunit2/a/xmake.lua
index 3225b2814..261428921 100644
--- a/tests/projects/c++/modules/user_headerunit2/a/xmake.lua
+++ b/tests/projects/c++/modules/user_headerunit2/a/xmake.lua
@@ -1,4 +1,6 @@
target("a")
set_languages("cxxlatest")
- set_kind("object")
- add_files("a.mpp", {public = true})
+ set_kind("headeronly")
+ add_rules("c++.moduleonly")
+ add_headerfiles("*.hpp")
+ add_files("a.mpp")