forked from alicevision/AliceVision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
64 lines (54 loc) · 1.72 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '1.0.{build}'
image: Visual Studio 2015
branches:
only:
- master
- develop # PRs are built
platform:
- x64
# environment:
# APPVEYOR_SAVE_CACHE_ON_ERROR: true
configuration:
- Release
# - Debug
install:
- git submodule update --init --recursive
- cmd: >-
call cudaInstallAppveyor.cmd
- cd c:\tools\vcpkg\
- git fetch https://github.com/aliceVision/vcpkg.git alicevision_master:alicevision_master
- git checkout alicevision_master
- .\bootstrap-vcpkg.bat
- vcpkg upgrade --no-dry-run
- vcpkg list
- vcpkg install
boost-algorithm boost-accumulators boost-atomic boost-container boost-date-time boost-exception boost-filesystem boost-graph boost-log boost-program-options boost-property-tree boost-ptr-container boost-regex boost-serialization boost-system boost-test boost-thread
openexr
openimageio[libraw]
alembic
geogram
eigen3
ceres[suitesparse]
cuda
--triplet %PLATFORM%-windows
--recurse
- vcpkg list
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- md build
- cd build
- cmake .. -G "Visual Studio 14 2015 Win64"
-DCMAKE_BUILD_TYPE=%CONFIGURATION%
-DALICEVISION_USE_INTERNAL_CERES:BOOL=OFF
-DALICEVISION_USE_CUDA:BOOL=ON
-DALICEVISION_BUILD_EXAMPLES:BOOL=ON
-DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
- ls -l
build:
project: $(APPVEYOR_BUILD_FOLDER)\build\aliceVision.sln
verbosity: minimal
#comment the above and uncomment the following to just build the dependencies
# build_script:
# - echo "Dependencies installed."
cache:
c:\tools\vcpkg\installed\