summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/xmake_tests4/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/xmake_tests4/xmake.lua')
-rw-r--r--tests/projects/c++/modules/xmake_tests4/xmake.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/xmake_tests4/xmake.lua b/tests/projects/c++/modules/xmake_tests4/xmake.lua
new file mode 100644
index 000000000..63a01661e
--- /dev/null
+++ b/tests/projects/c++/modules/xmake_tests4/xmake.lua
@@ -0,0 +1,10 @@
+add_rules("mode.debug", "mode.release")
+set_languages("c++23")
+set_encodings("utf-8")
+--add_rules("plugin.compile_commands.autoupdate", {outputdir = ".vscode"})
+
+target("llvm")
+ set_kind("binary")
+ set_runtimes("c++_shared")
+ add_files("src/*.cpp", "src/*.mpp")
+ add_tests("test", { files = "test/test.cpp", remove_files = "src/main.cpp" })