summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/native_aot/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-19 23:15:48 +0800
committerruki <[email protected]>2026-03-19 23:15:48 +0800
commit930be83656eb0e6dc968f672e889d43aaa166550 (patch)
tree3628c9923964f6360c531daec57a45812452ecea /tests/projects/csharp/native_aot/xmake.lua
parent879355cb0236593d8b73b4141f547585f37134e0 (diff)
add native aot
Diffstat (limited to 'tests/projects/csharp/native_aot/xmake.lua')
-rw-r--r--tests/projects/csharp/native_aot/xmake.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/csharp/native_aot/xmake.lua b/tests/projects/csharp/native_aot/xmake.lua
new file mode 100644
index 000000000..92f264095
--- /dev/null
+++ b/tests/projects/csharp/native_aot/xmake.lua
@@ -0,0 +1,11 @@
+add_rules("mode.debug", "mode.release")
+
+target("cslib")
+ set_kind("shared")
+ add_files("src/cslib/*.cs")
+ set_values("csharp.publish_aot", "true")
+
+target("app")
+ set_kind("binary")
+ add_deps("cslib")
+ add_files("src/app/*.cpp")