summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-16 12:33:47 +0800
committerGitHub <[email protected]>2022-08-16 12:33:47 +0800
commit81aca6fbe9149b377cdd88e8ee4b8f045d5a46da (patch)
tree0f138f960ab9fd95265ecbffca7c6ae27d65f4a3 /tests/projects/c++/modules/cpp_with_moduledeps/xmake.lua
parentd46b16f8c40493bfc78764931bf7c3209442696b (diff)
parentd9f82e1bba29adc8b11dc1f7b3887717f03137d6 (diff)
Merge pull request #2641 from xmake-io/cxxmodules
Improve C++20 modules support
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")