Skip to content

Commit

Permalink
Merge pull request #1106 from kerautret/QGLviewerMS
Browse files Browse the repository at this point in the history
DGtal on MS Windows with QGLViewer activated
  • Loading branch information
dcoeurjo committed Jan 15, 2016
2 parents d2b27c9 + 060f4d8 commit be6a7e0
Show file tree
Hide file tree
Showing 28 changed files with 10,170 additions and 78 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
'cl' compiler. (David Coeurjolly, Jérémy Levallois,
[#1074](https:/DGtal-team/DGtal/pull/1074))

- DGtal with QGLViewer option activated now compiles on Microsoft Windows,
Visual Studio (only VS14 or above). (Bertrand Kerautret,
[#1106](https:/DGtal-team/DGtal/pull/1106))

- *Base Package*
- Traits class for containers in order to probe their category at
compile time. (Jacques-Olivier Lachaud,
Expand Down
24 changes: 17 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ environment:
matrix:
- VS_GEN: Visual Studio 14 2015
CONFIG: RelWithDebInfo
CONFIGQGL: Release

B_NAME: Win32
- VS_GEN: Visual Studio 14 2015 Win64
CONFIG: Release
B_NAME: Win64
QTDIR: C:\Qt\5.4\msvc2013_opengl
# - VS_GEN: Visual Studio 14 2015 Win64
# CONFIG: Release
# B_NAME: Win64



matrix:
fast_finish: true


# Operating system (build VM template)
os: Visual Studio 2015
branches:
Expand All @@ -29,16 +35,20 @@ init:
- set
- msbuild /version
- cmake --version
- set PATH=%QTDIR%\bin;%PATH%

# check nmake ?
#- call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
#- cl

# scripts that run after cloning repository
install:

before_build:
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DBUILD_TESTING:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=FALSE -DBOOST_ROOT=C:\Libraries\boost .
#install QGLViewer:
- git clone https:/kerautret/libQGLViewer.git
- cd C:\projects\dgtal\libqglviewer\QGLViewer
- qmake -t vclib QGLViewer.pro -spec win32-msvc2013 -o qglviewer.vcxproj
- msbuild /m /p:Configuration=%CONFIGQGL% /p:Platform=%B_NAME% qglviewer.vcxproj
- cd C:\projects\dgtal
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DWITH_QGLVIEWER:BOOL=ON -DQGLVIEWER_INCLUDE_DIR=C:\projects\dgtal\libQGLViewer -DQGLVIEWER_LIBRARIES=C:\projects\dgtal\libQGLViewer\QGLViewer\QGLViewer2.lib -DWITH_QT5:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=FALSE -DBOOST_ROOT=C:\Libraries\boost .

# - cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DGDCM_BUILD_TESTING:BOOL=ON -DGDCM_BUILD_APPLICATIONS:BOOL=ON -DGDCM_BUILD_SHARED_LIBS:BOOL=ON -DGDCM_ALLOW_INSOURCE_BUILD:BOOL=ON -DBUILDNAME:STRING=%COMPUTERNAME%-%B_NAME% -DGDCM_WRAP_CSHARP:BOOL=ON -DGDCM_WRAP_JAVA:BOOL=ON -DGDCM_WRAP_PYTHON:BOOL=ON -DGDCM_USE_PVRG:BOOL=ON .

Expand Down
1 change: 0 additions & 1 deletion examples/doc-examples/catch.hpp

This file was deleted.

Loading

0 comments on commit be6a7e0

Please sign in to comment.