Skip to content

Commit

Permalink
Treat warnings as errors in Ubuntu 16.04 job
Browse files Browse the repository at this point in the history
  • Loading branch information
taketwo committed Nov 20, 2019
1 parent bedddad commit 909af91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .ci/azure-pipelines/build-ubuntu-16-04.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:
container: env1604
variables:
BUILD_DIR: '$(Agent.BuildDirectory)/build'
CMAKE_CXX_FLAGS: '-Wall -Wextra -O2'
steps:
- script: |
mkdir $BUILD_DIR && cd $BUILD_DIR
cmake $(Build.SourcesDirectory) \
-DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
-DPCL_ONLY_CORE_POINT_TYPES=ON \
-DPCL_WARNINGS_ARE_ERROS=ON \
-DBUILD_simulation=ON \
-DBUILD_surface_on_nurbs=ON \
-DBUILD_global_tests=ON \
Expand Down

0 comments on commit 909af91

Please sign in to comment.