summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/cpp_with_moduledeps
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-01-23 18:22:52 +0100
committerArthur LAURENT <[email protected]>2024-01-26 18:20:57 +0100
commite20c6cafdb241ad6f858556c33463da1a092abdc (patch)
tree27e4be80b8a1e9c69c1f42149bf2d31daa1d540a /tests/projects/c++/modules/cpp_with_moduledeps
parent445e43b40846b29b9abb1293b32b27b7104f54fa (diff)
improve module tests
Diffstat (limited to 'tests/projects/c++/modules/cpp_with_moduledeps')
-rw-r--r--tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua b/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
index 6a9b3538f..206e3746f 100644
--- a/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
+++ b/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
@@ -3,7 +3,8 @@ set_languages("c++20")
target("mod")
set_kind("static")
- add_files("src/mod.mpp", "src/mod.cpp")
+ add_files("src/mod.mpp", {public = true})
+ add_files("src/mod.cpp")
target("cpp_with_moduledeps")
set_kind("binary")