aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/setup_appveyor.bat
blob: d8d3bff779f0d99ea62a0849259da268d905f1aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

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

if %MSVS% == 2013 call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %PLATFORM%
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%

rem check compiler version
cl

appveyor DownloadFile http://download.qt.io/official_releases/jom/jom.zip -FileName jom.zip
7z e jom.zip

nuget install -ExcludeVersion -Version 4.1.0 clcache

set PATH=%PATH%;clcache\clcache-4.1.0

rem We rely on LZMA compression to stay under appveyors cache limit
clcache -M 536870912