[tests] Remove MONOMAC ifdef from BCL tests
[mono-project.git] / msvc / run-msbuild.sh
blob7de93f0d9f4458c29c776c3608bda0b12e790bcc
1 #!/bin/bash
3 # Arguments:
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" "$@"