summaryrefslogtreecommitdiffhomepage
path: root/freetrackclient/build-msvc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'freetrackclient/build-msvc.sh')
-rw-r--r--freetrackclient/build-msvc.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/freetrackclient/build-msvc.sh b/freetrackclient/build-msvc.sh
deleted file mode 100644
index 4fd303a0..00000000
--- a/freetrackclient/build-msvc.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-export PATH="/bin:/usr/bin:$PATH"
-
-case "$(uname -s 2>/dev/null)" in
-*CYG*|*MING*|'') wrap= ;;
-*) wrap=wine ;;
-esac
-
-c_src=".\\freetrackclient.c"
-c_bin="..\\facetracknoir\\clientfiles\\freetrackclient.dll"
-opt_link="-nologo -LTCG -SAFESEH:NO -OPT:REF,ICF"
-opt_cl="
--nologo -arch:SSE2 -fp:fast -EHc -EH- -GL -GR- -GS- -Gw -LD -MT -O1
--Ob2 -Og -Oi -Ot -Oy -QIfist -volatile:iso -Ze -Fe\"${c_bin}\"
-"
-
-MSVC="VS140COMNTOOLS"
-
-test -z "$MSVC" && {
- echo "uh-oh, no MSVC" >&2
- exit 1
-}
-
-sep="\&"
-
-cd "$(dirname "$0")"
-
-$wrap cmd.exe /C $(echo "
- del /F /Q $c_bin $sep
- call %${MSVC}%/vsvars32.bat 2>nul >nul $sep
- cl $opt_cl $c_src -link $opt_link
- " | tr '\n' ' ')