Fix appveyor

master
huxingyi 2018-04-13 20:59:07 -07:00
parent cd91115aa1
commit 87ce5c0733
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ install:
build: false build: false
test_script: test_script:
- if "%PLATFORM%" == "x86"
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- if "%PLATFORM%" == "x64"
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
- set PATH=%PATH%;%QTDIR%\bin - set PATH=%PATH%;%QTDIR%\bin
- qmake DEFINES+=BOOST_INCLUDEDIR=C:\Libraries\boost_1_66_0 DEFINES+=CGAL_DIR=%APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1 - qmake DEFINES+=BOOST_INCLUDEDIR=C:\Libraries\boost_1_66_0 DEFINES+=CGAL_DIR=%APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1
- nmake -f Makefile.Release - nmake -f Makefile.Release