summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/native_aot/xmake.lua
diff options
context:
space:
mode:
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")