-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
44 lines (34 loc) · 1.25 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#from https://github.com/WPN-XM/server-control-panel/blob/master/appveyor.yml
version: '{build}'
image: Visual Studio 2017
environment:
MSBUILD_FLAGS: /verbosity:minimal /maxcpucount /nologo /ds
matrix:
# https://www.appveyor.com/docs/build-environment/#qt
# MSVC x64
- bitsize: x64
#qt: latest\msvc2017_64
qt: 5.11\msvc2017_64
suffix: msvc2017
generator: "Visual Studio 15 2017 Win64"
install:
- cd %REPO_DIR%
- git submodule update --init --recursive
- git submodule status
before_build:
- set PATH=C:\Qt\%qt%\bin;C:\Qt\%qt%;%PATH%
- set QTDIR=C:\Qt\%qt%
- call "C:\Qt\%qt%\bin\qtenv2.bat"
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
build_script:
- cd C:\projects\
- git clone --branch=1.7.108 --depth=1 https://github.com/aws/aws-sdk-cpp.git
- cd aws-sdk-cpp
- mkdir build && cd build
- cmake .. -G "Visual Studio 15 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="s3" -DENABLE_TESTING=OFF
- msbuild ALL_BUILD.vcxproj
- msbuild INSTALL.vcxproj /p:Configuration=Release
- cd C:\projects\S3ClientGUI\src\S3ClientGUI
- mkdir build && cd build
- qmake CONFIG-=debug CONFIG+=release ..
- nmake /f Makefile.Release