forked from robotology/idyntree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (38 loc) · 1.29 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
version: 1.0.{build}
clone_folder: c:\projects\idyntree
environment:
Eigen3_DIR: C:/Program Files (x86)/Eigen/lib/cmake/eigen3/
os:
- Visual Studio 2013
- Visual Studio 2015
install:
build:
build_script:
# download and build tinyxml
- cd c:\projects
- git clone https://github.com/robotology-dependencies/tinyxml
- cd tinyxml
- md build
- cd build
- cmake ..
- msbuild /m /p:Configuration=Release /p:Platform="Win32" tinyxml.sln
- cmake --build . --config Release
- cmake --build . --config Release --target INSTALL
# download and install eigen3
- cd c:\projects
- hg clone https://bitbucket.org/eigen/eigen
- cd eigen
- hg checkout 3.3-beta2
- md build
- cd build
- cmake ..
- cmake --build . --config Release --target INSTALL
# compile iDynTree
- cd c:\projects\idyntree
- md build
- cd build
- cmake .. -DEIGEN3_INCLUDE_DIR="C:/Program Files (x86)/Eigen/include/eigen3" -DIDYNTREE_USES_KDL:BOOL=OFF -DIDYNTREE_USES_IPOPT:BOOL=OFF -DIDYNTREE_USES_YARP:BOOL=OFF -DIDYNTREE_USES_ICUB_MAIN:BOOL=OFF -DIDYNTREE_COMPILE_TESTS:BOOL=ON
- msbuild /m /p:Configuration=Release /p:Platform="Win32" iDynTree.sln
- cmake --build . --config Release
- ctest --output-on-failure --build-config Release
- cmake --build . --config Release --target INSTALL