From 7bcf00d471cd0c642b27ab364bb5c1023d9ef702 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 3 Mar 2019 18:22:18 +0930 Subject: [PATCH] Upgrade CGAL 4.11.1 to 4.13 --- .travis.yml | 6 +++--- appveyor.yml | 18 +++++++++--------- dust3d.pro | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d209e08..a92a1718 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,9 +37,9 @@ install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libcgal-dev; fi # (Linux) Build from source - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/CGAL/cgal/releases/download/releases/CGAL-4.11.1/CGAL-4.11.1.zip; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip CGAL-4.11.1.zip; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd CGAL-4.11.1; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/CGAL/cgal/releases/download/releases/CGAL-4.13/CGAL-4.13.zip; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip CGAL-4.13.zip; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd CGAL-4.13; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir build; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd build; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake ../; fi diff --git a/appveyor.yml b/appveyor.yml index 4dff0565..c6e1eb62 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,7 +13,7 @@ environment: sysdirname: system32 cache: - CGAL-4.11.1-Setup.exe -> appveyor.yml + CGAL-4.13-Setup.exe -> appveyor.yml install: - if "%PLATFORM%" == "x86" @@ -22,10 +22,10 @@ install: call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 - if "%PLATFORM%" == "x64" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 - - if not exist CGAL-4.11.1-Setup.exe - appveyor DownloadFile https://github.com/CGAL/cgal/releases/download/releases/CGAL-4.11.1/CGAL-4.11.1-Setup.exe -FileName CGAL-4.11.1-Setup.exe - - CGAL-4.11.1-Setup.exe /S /D=%APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1 - - cd CGAL-4.11.1 + - if not exist CGAL-4.13-Setup.exe + appveyor DownloadFile https://github.com/CGAL/cgal/releases/download/releases/CGAL-4.13/CGAL-4.13-Setup.exe -FileName CGAL-4.13-Setup.exe + - CGAL-4.13-Setup.exe /S /D=%APPVEYOR_BUILD_FOLDER%\CGAL-4.13 + - cd CGAL-4.13 - mkdir build - cd build - if "%PLATFORM%" == "x86" @@ -39,7 +39,7 @@ build: false test_script: - set PATH=%PATH%;%QTDIR%\bin - - qmake "BOOST_INCLUDEDIR=C:\Libraries\boost_1_66_0" "CGAL_DIR=%APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1" + - qmake "BOOST_INCLUDEDIR=C:\Libraries\boost_1_66_0" "CGAL_DIR=%APPVEYOR_BUILD_FOLDER%\CGAL-4.13" - nmake -f Makefile.Release after_test: @@ -49,9 +49,9 @@ after_test: - if "%TAG%" == "" set TAG=unstable - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\release\dust3d.exe - - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1\build\bin\Release\CGAL-vc140-mt-4.11.1.dll - - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1\auxiliary\gmp\lib\libgmp-10.dll - - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1\auxiliary\gmp\lib\libmpfr-4.dll + - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\CGAL-4.13\build\bin\Release\CGAL-vc140-mt-4.13.dll + - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\CGAL-4.13\auxiliary\gmp\lib\libgmp-10.dll + - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\CGAL-4.13\auxiliary\gmp\lib\libmpfr-4.dll - 7z a dust3d-%TAG%-%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\ci\opengl32sw.dll - 7z a dust3d-%TAG%-%PLATFORM%.zip %QTDIR%\bin\Qt5Widgets.dll - 7z a dust3d-%TAG%-%PLATFORM%.zip %QTDIR%\bin\Qt5Gui.dll diff --git a/dust3d.pro b/dust3d.pro index 5529d381..abcdb0ac 100644 --- a/dust3d.pro +++ b/dust3d.pro @@ -402,7 +402,7 @@ win32 { GMP_LIBNAME = libgmp-10 MPFR_LIBNAME = libmpfr-4 - CGAL_LIBNAME = CGAL-vc140-mt-4.11.1 + CGAL_LIBNAME = CGAL-vc140-mt-4.13 CGAL_INCLUDEDIR = $$CGAL_DIR\include CGAL_BUILDINCLUDEDIR = $$CGAL_DIR\build\include CGAL_LIBDIR = $$CGAL_DIR\build\lib\Release