Skip to content

Commit

Permalink
Merge pull request #31 from kerautret/Prepare0.9.3
Browse files Browse the repository at this point in the history
0.9.3
  • Loading branch information
kerautret authored Feb 12, 2017
2 parents a3b6c0d + a0adc36 commit 8e722b0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cmake_minimum_required (VERSION 2.6)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)


FIND_PACKAGE(DGtal 0.9.2 REQUIRED)
FIND_PACKAGE(DGtal 0.9.3 REQUIRED)
INCLUDE_DIRECTORIES(${DGTAL_INCLUDE_DIRS})
LINK_DIRECTORIES(${DGTAL_LIBRARY_DIRS})

Expand Down Expand Up @@ -37,7 +37,7 @@ endif()
SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
SET(DGtalToolsContrib_VERSION_MAJOR 0)
SET(DGtalToolsContrib_VERSION_MINOR 9)
SET(DGtalToolsContrib_VERSION_PATCH 2)
SET(DGtalToolsContrib_VERSION_PATCH 3)
SET(DGTALTOOLSContrib_VERSION "${DGtalToolsContrib_VERSION_MAJOR}.${DGtalToolsContrib_VERSION_MINOR}.${DGtalToolsContrib_VERSION_PATCH}")
SET(PROJECT_VERSION "${DGtalToolsContrib_VERSION_MAJOR}.${DGtalToolsContrib_VERSION_MINOR}.${DGtalToolsContrib_VERSION_PATCH}")
SET(VERSION ${DGtalToolsContrib_VERSION_MAJOR}.${DGtalToolsContrib_VERSION_MINOR}.${DGtalToolsContrib_VERSION_PATCH})
Expand All @@ -48,6 +48,7 @@ SET(Boost_USE_STATIC_RUNTIME OFF)
SET(Boost_FOUND FALSE)
FIND_PACKAGE(Boost 1.46.0 REQUIRED COMPONENTS program_options)
if ( Boost_FOUND )
ADD_DEFINITIONS(${BOOST_DEFINITIONS} -DBOOST_ALL_NO_LIB)
message(STATUS "Boost and boost_program_options found.")
include_directories( ${Boost_INCLUDE_DIRS} )
SET(DGtalToolsContribLibDependencies ${DGtalToolsContribLibDependencies}
Expand Down
15 changes: 14 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,26 @@ init:
install:

before_build:
# install zlib
- cmd: mkdir c:\zlib
- appveyor DownloadFile "https://github.com/madler/zlib/archive/v1.2.9.zip" -FileName zlib.zip
- 7z x zlib.zip -oC:\zlib
- cmd: cd C:\zlib
- cmd: mkdir C:\zlib-install
- cmd: mkdir C:\zlib-build
- cmd: cd C:\zlib-build
- cmd: dir C:\zlib
- cmake -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DCMAKE_INSTALL_PREFIX:PATH=c:\zlib-install C:\zlib\zlib-1.2.9
- msbuild zlib.sln /m
- cmd: msbuild INSTALL.vcxproj

- git clone https://github.com/kerautret/libQGLViewer.git C:\projects\libqglviewer
- cd C:\projects\libqglviewer\QGLViewer
- qmake -t vclib QGLViewer.pro -spec win32-msvc2013 -o qglviewer.vcxproj
- msbuild /m /p:Configuration=%CONFIGQGL% /p:Platform=%B_NAME% qglviewer.vcxproj
- git clone -q --branch=master https://github.com/DGtal-team/DGtal.git C:\projects\dgtal
- cd C:\projects\dgtal
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DWITH_QGLVIEWER:BOOL=ON -DWITH_QT5:BOOL=ON -DQGLVIEWER_INCLUDE_DIR=C:\projects\libqglviewer -DQGLVIEWER_LIBRARIES=C:\projects\libqglviewer\QGLViewer\QGLViewer2.lib -DBUILD_TESTING:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=FALSE -DBOOST_ROOT=%BOOST_ROOT% .
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DWITH_QGLVIEWER:BOOL=ON -DWITH_QT5:BOOL=ON -DQGLVIEWER_INCLUDE_DIR=C:\projects\libqglviewer -DQGLVIEWER_LIBRARIES=C:\projects\libqglviewer\QGLViewer\QGLViewer2.lib -DBUILD_TESTING:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=FALSE -DZLIB_LIBRARY=c:/zlib-install/lib/zlibd.lib -DZLIB_INCLUDE_DIR=c:/zlib-install/include/ -DBOOST_ROOT=%BOOST_ROOT% .
- msbuild /m /p:Configuration=%CONFIG% /p:Platform=%B_NAME% DGtal.sln
- cd %APPVEYOR_BUILD_FOLDER%
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DDGtal_DIR=C:\projects\dgtal .
Expand Down

0 comments on commit 8e722b0

Please sign in to comment.