...
 
Commits (2)
......@@ -24,7 +24,7 @@ install:
- cd external\eigen3
- mkdir build & cd build
- cmake .. -DCMAKE_INSTALL_PREFIX="..\..\build" -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles"
- nmake install
- nmake /NOLOGO install
- cd ..\..\..\
before_build:
......@@ -39,11 +39,9 @@ build_script:
- git submodule init
- git submodule update
# Build externals
# First we need to build ALTA to get Eigen
#- dir C:\Python27\libs
#- dir C:\Libraries\boost_1_63_0
#- dir C:\Libraries\boost_1_63_0\lib64-msvc-14.0
## Build externals
# SCons: First we need to build ALTA to get Eigen
- if "%builder%" == "scons" (
scons --cfg=./configs/scons/config-windows-appveyor.py &
appveyor PushArtifact config.log
......@@ -56,7 +54,7 @@ build_script:
- mkdir build-ceres
- cd build-ceres
- cmake .. -DBUILD_SHARED_LIBS=ON -DMINIGLOG=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX="..\..\build" -DEIGEN_INCLUDE_DIR="..\..\build\include" -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles"
- nmake install
- nmake /NOLOGO install
- cd ..\..\..
# Rebuild with CERES and Python
......@@ -66,11 +64,15 @@ build_script:
) else (
mkdir build &
cd build &
cmake .. -DEIGEN3_INCLUDE_DIR="external/build/include/eigen3" -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" &
nmake &
cmake .. -DEIGEN3_INCLUDE_DIR="external/build/include/eigen3" -Wdev -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" &
nmake /NOLOGO &
cd ..
)
# Generate zip with all compilation elements
# TODO: This export is not working
#- appveyor PushArtifact 'build/*'
# Generate product
- makensis sources\scripts\installer.nsi
- appveyor PushArtifact sources\scripts\ALTA.exe
......@@ -103,3 +105,6 @@ artifacts:
type: zip
- path: build\Testing\Temporary\LastTest.log
name: CMakeTestsLog
# - path: 'build/*'
# name: ALTAZip
# type: zip