summaryrefslogtreecommitdiff
path: root/tests/projects/package/multiplat/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-02 22:44:50 +0800
committerruki <[email protected]>2023-03-02 22:44:50 +0800
commit43d78bb9720b30b86408bed2a25feff2a9b14cd2 (patch)
tree83dc5f3cba01e726cabf750e0068e6e3bd1926ec /tests/projects/package/multiplat/xmake.lua
parent38a4a383cd9df2ec732ccd78194666cd97299050 (diff)
add multiplat tests
Diffstat (limited to 'tests/projects/package/multiplat/xmake.lua')
-rw-r--r--tests/projects/package/multiplat/xmake.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/projects/package/multiplat/xmake.lua b/tests/projects/package/multiplat/xmake.lua
new file mode 100644
index 000000000..40fb2ed79
--- /dev/null
+++ b/tests/projects/package/multiplat/xmake.lua
@@ -0,0 +1,18 @@
+add_rules("mode.debug", "mode.release")
+
+add_requires("raylib")
+add_requires("raylib~mingw", {plat = "mingw", arch = "x86_64"})
+
+target("macosx")
+ add_packages("raylib")
+ set_kind("binary")
+ add_files("src/*.cpp")
+ set_languages("c++11")
+
+target("mingw")
+ set_plat("mingw")
+ set_arch("x86_64")
+ add_packages("raylib~mingw")
+ set_kind("binary")
+ add_files("src/*.cpp")
+