-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathappveyor.yml
35 lines (29 loc) · 1.34 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
version: 1.0.{build}
build:
verbosity: minimal
project: bmc.sln
configuration: Release
environment:
BOOST_ROOT: 'c:\Libraries\boost_1_59_0'
QTDIR: 'C:\Qt\5.5\msvc2013'
XSDDIR: 'C:\Program Files (x86)\CodeSynthesis XSD 4.0'
install:
- git submodule --quiet update --init --recursive
- curl.exe -s -o xsd-4.0.msi https://www.codesynthesis.com/download/xsd/4.0/windows/i686/xsd-4.0.msi
- msiexec.exe /i xsd-4.0.msi /quiet /qn /norestart /log install.log
before_build:
- cd %XSDDIR%\xerces-c-3.1.1\projects\Win32\VC10\xerces-all
- msbuild xerces-all.sln /t:XercesLib /p:PlatformToolset=v140 /P:Configuration="Static Release"
- cd %BOOST_ROOT%
- bootstrap.bat --with-libraries=program_options
- b2.exe --build-type=complete --with-program_options stage
- cd c:\projects\bmc
- set PATH=%QTDIR%\bin;%XSDDIR%\bin;%PATH%
- set CMAKE_PREFIX_PATH=%QTDIR%;%CMAKE_PREFIX_PATH%
- cmake -G "Visual Studio 14 2015" -Dbmc_USE_PYTHON=OFF -DXercesC_INCLUDE_DIR="%XSDDIR%\include" -DXercesC_LIBRARY_DEBUG="%XSDDIR%\lib\vc-12.0\xerces-c_3D.lib" -DXercesC_LIBRARY_RELEASE="%XSDDIR%\xerces-c-3.1.1\Build\Win32\VC10\Static Release\xerces-c_static_3.lib" .
build_script:
- msbuild bmc.sln /t:bmc,bmc-ui,bmc_test /p:Configuration=Release
- cd c:\projects\bmc\test
- Release\bmc_test.exe
artifacts:
- path: Release/bmc.exe