aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/setup_appveyor.bat
blob: 0c5112b826dd99ec6073c6fb43008d30b510c1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

echo Current build setup MSVS="%MSVS%" PLATFORM="%PLATFORM%" TARGET="%TARGET%"

if %MSVS% == 2015 call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
if %MSVS% == 2017 call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%
if %MSVS% == 2019 call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%

rem check compiler version
cl

git clone --depth 1 https://github.com/randombit/botan-ci-tools

set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%;botan-ci-tools