summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorruki <[email protected]>2023-04-14 00:19:54 +0800
committerruki <[email protected]>2023-04-14 00:19:54 +0800
commite995d048e4b0455429a1719c5980eff60659d193 (patch)
tree4931fa2961f3b8af8831df5b646f3a8bc0f404b7 /core
parent2d5cabdbfe1340aefb6c805d1bc09745e2b31bf0 (diff)
wrap xmake.sh for msys/mingw
Diffstat (limited to 'core')
-rwxr-xr-xcore/src/demo/xmake.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh
index 0fa493b77..acc246e61 100755
--- a/core/src/demo/xmake.sh
+++ b/core/src/demo/xmake.sh
@@ -28,6 +28,11 @@ target "demo"
add_installfiles "${projectdir}/(xmake/templates/**)" "share"
add_installfiles "${projectdir}/scripts/xrepo.sh" "bin" "xrepo"
+ if is_plat "mingw" "msys" "cygwin" && is_host "windows"; then
+ add_installfiles "${projectdir}/scripts/msys/xmake.sh" "bin" "xmake"
+ add_installfiles "${buildir}/xmake.exe" "share/xmake"
+ fi
+
# add syslinks
add_options "atomic"
if is_plat "mingw" "msys" "cygwin"; then