Skip to content

Commit

Permalink
Remove references to ALICEVISION_BUILD_EXAMPLES
Browse files Browse the repository at this point in the history
The `ALICEVISION_BUILD_EXAMPLES` flag has been removed when the samples
have been removed from the project, it is thus useless to keep any
reference to it.
  • Loading branch information
cbentejac committed Oct 4, 2024
1 parent 6593648 commit 318574f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jobs:
-DCMAKE_INSTALL_PREFIX:PATH=$PWD/../../AV_install \
-DTARGET_ARCHITECTURE=core \
-DALICEVISION_BUILD_TESTS:BOOL=ON \
-DALICEVISION_BUILD_EXAMPLES:BOOL=ON \
-DALICEVISION_BUILD_SWIG_BINDING:BOOL=ON \
-DALICEVISION_USE_OPENCV:BOOL=ON \
-DALICEVISION_USE_CUDA:BOOL=ON \
Expand Down Expand Up @@ -216,7 +215,6 @@ jobs:
-DTARGET_ARCHITECTURE=core
-DCMAKE_INSTALL_PREFIX=${{ env.ALICEVISION_ROOT }}
-DALICEVISION_BUILD_TESTS=ON
-DALICEVISION_BUILD_EXAMPLES=OFF
-DALICEVISION_USE_OPENCV=ON
-DALICEVISION_USE_CUDA=ON
-DALICEVISION_USE_CCTAG=OFF
Expand Down
10 changes: 3 additions & 7 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,6 @@ CMake Options
* `ALICEVISION_BUILD_DOC` (default `AUTO`)
Build AliceVision documentation

* `ALICEVISION_BUILD_EXAMPLES` (default `ON`)
Build AliceVision samples applications (aliceVision software are still built)

* `ALICEVISION_BUILD_COVERAGE` (default `OFF`)
Enable code coverage generation (gcc only)

Expand All @@ -279,9 +276,9 @@ Linux compilation
cmake -DCMAKE_BUILD_TYPE=Release . ../AliceVision
```

If you want enable unit tests and examples to the build:
If you want enable unit tests to the build:
```bash
cmake -DCMAKE_BUILD_TYPE=Release -DALICEVISION_BUILD_TESTS=ON -DALICEVISION_BUILD_EXAMPLES=ON ../AliceVision
cmake -DCMAKE_BUILD_TYPE=Release -DALICEVISION_BUILD_TESTS=ON ../AliceVision
```

In order to use the MOSEK 6 back-end for the linear programming aliceVision module:
Expand Down Expand Up @@ -343,11 +340,10 @@ git clone --recursive https://github.com/alicevision/AliceVision.git
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -G "Xcode" ../AliceVision
```
If you want enable unit tests and examples to the build:
If you want enable unit tests to the build:
```bash
cmake -DCMAKE_BUILD_TYPE=Release \
-DALICEVISION_BUILD_TESTS=ON \
-DALICEVISION_BUILD_EXAMPLES=ON \
-G "Xcode" \
../AliceVision
xcodebuild -configuration Release
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_centos
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH="${AV_INSTALL}" \
-DALICEVISION_BUNDLE_PREFIX="${AV_BUNDLE}" \
-DALICEVISION_USE_ALEMBIC=ON -DMINIGLOG=ON -DALICEVISION_USE_CCTAG=ON -DALICEVISION_USE_APRILTAG=ON -DALICEVISION_USE_OPENCV=ON -DALICEVISION_USE_OPENGV=ON \
-DALICEVISION_USE_POPSIFT=ON -DALICEVISION_USE_CUDA=ON -DALICEVISION_USE_ONNX_GPU=OFF -DALICEVISION_BUILD_DOC=OFF -DALICEVISION_BUILD_EXAMPLES=OFF \
-DALICEVISION_USE_POPSIFT=ON -DALICEVISION_USE_CUDA=ON -DALICEVISION_USE_ONNX_GPU=OFF -DALICEVISION_BUILD_DOC=OFF \
-DSWIG_DIR="${AV_INSTALL}/share/swig/4.2.0" -DSWIG_EXECUTABLE="${AV_INSTALL}/bin-deps/swig" \
"${AV_DEV}" || (cat "${AV_BUILD}/CMakeFiles/CMakeOutput.log" "${AV_BUILD}/CMakeFiles/CMakeError.log" && false)

Expand Down
1 change: 0 additions & 1 deletion docker/Dockerfile_ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ RUN export CPU_CORES=`${AV_DEV}/docker/check-cpu.sh`; \
-DALICEVISION_USE_CUDA:BOOL=ON \
-DALICEVISION_USE_ONNX_GPU:BOOL=OFF \
-DALICEVISION_BUILD_DOC:BOOL=OFF \
-DALICEVISION_BUILD_EXAMPLES:BOOL=OFF \
-DALICEVISION_BUILD_SWIG_BINDING:BOOL=ON \
-DSWIG_DIR:PATH="${AV_INSTALL}/share/swig/4.2.0" -DSWIG_EXECUTABLE:PATH="${AV_INSTALL}/bin-deps/swig" \
"${AV_DEV}" && \
Expand Down
1 change: 0 additions & 1 deletion src/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,6 @@ if(AV_BUILD_ALICEVISION)
-DALICEVISION_USE_CUDA=${AV_USE_CUDA}
-DALICEVISION_BUILD_SWIG_BINDING=${AV_USE_SWIG}
-DALICEVISION_BUILD_DOC=OFF
-DALICEVISION_BUILD_EXAMPLES=OFF

${ZLIB_CMAKE_FLAGS}
${ASSIMP_CMAKE_FLAGS}
Expand Down

0 comments on commit 318574f

Please sign in to comment.