diff options
author | RJ Ryan <rryan@mixxx.org> | 2017-01-25 21:47:36 -0800 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2017-01-25 22:57:29 -0800 |
commit | 973c81ddc085e531ac9a3292e1cd42295599959a (patch) | |
tree | 3757a426e51f400b5399900c6fe84ca2a436010c /build/appveyor | |
parent | ec2d342d03df27b64b9e2d78dd857c6be1a97d32 (diff) |
AppVeyor: Read Windows environment from a file in the repository.
Diffstat (limited to 'build/appveyor')
-rw-r--r-- | build/appveyor/build_mixxx.bat | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/build/appveyor/build_mixxx.bat b/build/appveyor/build_mixxx.bat index 6922f29357..d6f835cec2 100644 --- a/build/appveyor/build_mixxx.bat +++ b/build/appveyor/build_mixxx.bat @@ -67,14 +67,23 @@ REM ^ is the escape character. if "%3" == "" ( echo Missing parameters. Usage: ^(Note: keep same case and order^) echo. - echo build_mixxx.bat x64^|x86 debug^|release ^<winlib-path^> + echo build_mixxx.bat x64^|x86 debug^|release^|release-fastbuild ^<winlib-path^> echo. echo Example: build_mixxx.bat x64 release c:\mixxx\environments\msvc15-static-x86-release exit /b 1 ) set MACHINE_X86="%1" == "x86" -set CONFIG_RELEASE="%2" == "release" +if "%2" == "release" ( + set CONFIG_RELEASE=1==1 +) +if "%2" == "release-fastbuild" ( + set CONFIG_RELEASE=1==1 +) +if "%2" == "debug" ( + set CONFIG_RELEASE=0==1 +) + set WINLIB_DIR=%3 SET BIN_DIR=%WINLIB_DIR%\bin |