summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-04 22:35:52 +0800
committerruki <[email protected]>2022-08-04 22:35:52 +0800
commitcc8ee163098a464937769641377fd98c33bdfca2 (patch)
tree4f84b10b020b499174af011f55397fcb6909ce60 /tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
parent038a661150512feededd1e3badb1ad1dab5e30e0 (diff)
add more tests
Diffstat (limited to 'tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua')
-rw-r--r--tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua b/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
new file mode 100644
index 000000000..5c7a8a6f7
--- /dev/null
+++ b/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
@@ -0,0 +1,10 @@
+set_languages("c++20")
+
+target("mod")
+ set_kind("static")
+ add_files("src/mod.mpp", "src/mod.cpp")
+
+target("main")
+ set_kind("binary")
+ add_deps("mod")
+ add_files("src/main.cpp")