forked from kodi-pvr/pvr.hdhomerun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (27 loc) · 1.09 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
environment:
ADDON: pvr.hdhomerun
ROOT: c:\projects
matrix:
- CMAKE_GENERATOR: Visual Studio 14 2015
CONFIG: Debug
- CMAKE_GENERATOR: Visual Studio 14 2015
CONFIG: Release
- CMAKE_GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Debug
- CMAKE_GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Release
# clone directory
clone_folder: c:\projects\%ADDON%
init:
- echo ADDON=%ADDON%
- echo CONFIG=%CONFIG%
- echo CMAKE_GENERATOR=%CMAKE_GENERATOR%
- cmake --version
- msbuild /version
- git --version
- git clone --depth=1 https://github.com/xbmc/xbmc.git %ROOT%\xbmc
build_script:
- mkdir %ROOT%\%ADDON%\build
- cd %ROOT%\%ADDON%\build
- cmake -G "%CMAKE_GENERATOR%" -DADDONS_TO_BUILD=%ADDON% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDON_SRC_PREFIX=%ROOT% -DCMAKE_INSTALL_PREFIX=%ROOT%\xbmc\addons -DCMAKE_USER_MAKE_RULES_OVERRIDE=%ROOT%\xbmc\cmake\scripts\windows\CFlagOverrides.cmake -DCMAKE_USER_MAKE_RULES_OVERRIDE_CXX=%ROOT%\xbmc\cmake\scripts\windows\CXXFlagOverrides.cmake -DPACKAGE_ZIP=1 %ROOT%\xbmc\cmake\addons
- cmake --build . --config %CONFIG%