From 5f93546ea2baa45bf991cf4270239088fa036a64 Mon Sep 17 00:00:00 2001 From: Kylart Date: Tue, 5 Nov 2019 00:45:53 +0100 Subject: [PATCH] Added boost lib path to path --- appveyor.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ece97b9..d4d8320 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,21 +31,15 @@ install: - if not defined crypto ( set crypto=built-in ) - if not defined linkflags ( set linkflags="" ) - if not defined include ( set include="" ) - - cd %ROOT_DIRECTORY% + - ps: '"using msvc : 14.0 ;`nusing gcc : : : -std=c++14 ;`n" | Set-Content $env:HOMEDRIVE\$env:HOMEPATH\user-config.jam' - set BOOST_ROOT=c:\Libraries\boost_1_69_0 - set BOOST_BUILD_PATH=%BOOST_ROOT%\tools\build - - echo %BOOST_ROOT% - - echo %BOOST_BUILD_PATH% - - set PATH=%PATH%;%BOOST_BUILD_PATH%\src\engine\bin.ntx86 - - ps: '"using msvc : 14.0 ;`nusing gcc : : : -std=c++14 ;`n" | Set-Content $env:HOMEDRIVE\$env:HOMEPATH\user-config.jam' - type %HOMEDRIVE%%HOMEPATH%\user-config.jam - - cd %ROOT_DIRECTORY% + - set PATH=%PATH%;%BOOST_BUILD_PATH%\src\engine\bin.ntx86 - set PATH=c:\msys64\mingw32\bin;%PATH% - - echo %ROOT_DIRECTORY% - cd %BOOST_BUILD_PATH%\src\engine - build.bat >nul - cd %BOOST_ROOT% - # - bjam cxxstd=14 release --toolset=msvc --with-system --build-type=complete address-model=64 link=shared stage - b2 cxxstd=14 address-model=64 threading=multi --with-system --with-date_time --toolset=msvc-14.1 - cd %APPVEYOR_BUILD_FOLDER%\bindings\lib\libtorrent @@ -55,6 +49,7 @@ install: - cmake -DBOOST_LIBRARYDIR=%BOOST_LIBRARYDIR% -DCMAKE_CXX_STANDARD=14 -Dbuild_tools=ON -G "Visual Studio 15 2017 Win64" .. - cmake --build . --config Release -- -verbosity:minimal - cmake --install . + - set "PATH=%BOOST_LIBRARYDIR%;%PATH%" - set "PATH=c:/Program Files/libtorrent/;%PATH%" - cd %APPVEYOR_BUILD_FOLDER%