Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use preinstalled Boost on Azure #2935

Merged
merged 3 commits into from
Apr 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .ci/azure-pipelines/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
GENERATOR: 'Visual Studio 15 2017 Win64'
variables:
BUILD_DIR: '$(Agent.WorkFolder)\build'
VCVARSALL: '%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat'
CONFIGURATION: 'Release'
VCPKG_ROOT: 'C:\vcpkg'
steps:
- script: set
displayName: 'Print Environment Variables'
- script: |
vcpkg.exe install boost-system boost-filesystem boost-thread boost-date-time boost-iostreams boost-chrono boost-asio boost-dynamic-bitset boost-foreach boost-graph boost-interprocess boost-multi-array boost-ptr-container boost-random boost-signals2 eigen3 flann gtest qhull --triplet %PLATFORM%-windows && vcpkg.exe list
echo ##vso[task.prependpath]%BOOST_ROOT%\lib
displayName: 'Update System PATH'
- script: |
vcpkg.exe install eigen3 flann gtest qhull --triplet %PLATFORM%-windows && vcpkg.exe list
displayName: 'Install Dependencies'
- script: |
rmdir %VCPKG_ROOT%\downloads /S /Q
rmdir %VCPKG_ROOT%\packages /S /Q
displayName: 'Free Up Space'
- script: |
call "%VCVARSALL%" %ARCHITECTURE%
set PATH=%VCPKG_ROOT%\installed\%PLATFORM%-windows\bin;%PATH%
mkdir %BUILD_DIR% && cd %BUILD_DIR%
cmake $(Build.SourcesDirectory) -G"%GENERATOR%" -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake -DVCPKG_APPLOCAL_DEPS=ON -DPCL_BUILD_WITH_BOOST_DYNAMIC_LINKING_WIN32=ON -DPCL_BUILD_WITH_FLANN_DYNAMIC_LINKING_WIN32=ON -DPCL_BUILD_WITH_QHULL_DYNAMIC_LINKING_WIN32=ON -DBUILD_global_tests=ON -DBUILD_tools=OFF -DBUILD_surface_on_nurbs=ON
displayName: 'CMake Configuration'
Expand Down