4 #-------------------------------------------------------
5 # $1 Visual Studio target, build|clean, default build
6 # $2 Host CPU architecture, x86_64|i686, default x86_64
7 # $3 Visual Studio configuration, debug|release, default release
8 # $4 Additional arguments passed to msbuild, needs to be quoted if multiple.
9 #-------------------------------------------------------
11 RUN_MSBUILD_SCRIPT_PATH
=$
(cd "$(dirname "$0")"; pwd)
12 RUN_MSBUILD_SCRIPT_PATH
=$
(cygpath
-w "$RUN_MSBUILD_SCRIPT_PATH/run-msbuild.bat")
14 "$WINDIR/System32/cmd.exe" /c
"$RUN_MSBUILD_SCRIPT_PATH" "$@"