mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-14 10:55:23 +00:00
doc: Do not build documentation by default
This commit is contained in:
parent
eac76bf119
commit
af3f1615d2
|
@ -295,9 +295,8 @@ debian:cmake:
|
||||||
- popd
|
- popd
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh
|
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=on
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
@ -310,7 +309,7 @@ debian:cmake-no-opencv:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF -DXRT_HAVE_OPENCV=OFF
|
- .gitlab-ci/ci-cmake-build.sh -DXRT_HAVE_OPENCV=OFF
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
|
|
||||||
debian:cmake-no-sdl2:
|
debian:cmake-no-sdl2:
|
||||||
|
@ -320,7 +319,7 @@ debian:cmake-no-sdl2:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF -DXRT_HAVE_SDL2=OFF
|
- .gitlab-ci/ci-cmake-build.sh -DXRT_HAVE_SDL2=OFF
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
|
|
||||||
debian:cmake-no-service:
|
debian:cmake-no-service:
|
||||||
|
@ -330,7 +329,7 @@ debian:cmake-no-service:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF -DXRT_FEATURE_SERVICE=OFF
|
- .gitlab-ci/ci-cmake-build.sh -DXRT_FEATURE_SERVICE=OFF
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
|
|
||||||
debian:cmake:32bit:
|
debian:cmake:32bit:
|
||||||
|
@ -350,7 +349,7 @@ ndk:armeabi-v7a:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=26 -DBUILD_DOC=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
|
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=26 -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
|
||||||
|
|
||||||
ndk:arm64-v8a:
|
ndk:arm64-v8a:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -359,7 +358,7 @@ ndk:arm64-v8a:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=26 -DBUILD_DOC=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
|
- .gitlab-ci/ci-cmake-build.sh -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=26 -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk/build/cmake/android.toolchain.cmake -DEigen3_DIR=/usr/lib/cmake/eigen3/ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
|
||||||
|
|
||||||
android:spotlessCheck:
|
android:spotlessCheck:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -480,7 +479,7 @@ ubuntu:focal:cmake:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF
|
- .gitlab-ci/ci-cmake-build.sh
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
|
|
||||||
ubuntu:jammy:cmake:
|
ubuntu:jammy:cmake:
|
||||||
|
@ -490,7 +489,7 @@ ubuntu:jammy:cmake:
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
- .gitlab-ci/ci-cmake-build.sh -DBUILD_DOC=OFF
|
- .gitlab-ci/ci-cmake-build.sh
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
|
|
||||||
arch:cmake:
|
arch:cmake:
|
||||||
|
|
|
@ -94,17 +94,14 @@ distributions:
|
||||||
|
|
||||||
- name: "debian:cmake-no-opencv"
|
- name: "debian:cmake-no-opencv"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
XRT_HAVE_OPENCV: "OFF"
|
XRT_HAVE_OPENCV: "OFF"
|
||||||
|
|
||||||
- name: "debian:cmake-no-sdl2"
|
- name: "debian:cmake-no-sdl2"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
XRT_HAVE_SDL2: "OFF"
|
XRT_HAVE_SDL2: "OFF"
|
||||||
|
|
||||||
- name: "debian:cmake-no-service"
|
- name: "debian:cmake-no-service"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
XRT_FEATURE_SERVICE: "OFF"
|
XRT_FEATURE_SERVICE: "OFF"
|
||||||
|
|
||||||
- name: "debian:cmake:32bit"
|
- name: "debian:cmake:32bit"
|
||||||
|
@ -144,13 +141,11 @@ distributions:
|
||||||
- name: "ndk:armeabi-v7a"
|
- name: "ndk:armeabi-v7a"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
<<: *android_cmake_defines
|
<<: *android_cmake_defines
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
ANDROID_ABI: armeabi-v7a
|
ANDROID_ABI: armeabi-v7a
|
||||||
|
|
||||||
- name: "ndk:arm64-v8a"
|
- name: "ndk:arm64-v8a"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
<<: *android_cmake_defines
|
<<: *android_cmake_defines
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
ANDROID_ABI: arm64-v8a
|
ANDROID_ABI: arm64-v8a
|
||||||
|
|
||||||
- name: android:spotlessCheck
|
- name: android:spotlessCheck
|
||||||
|
@ -184,7 +179,6 @@ distributions:
|
||||||
build_jobs:
|
build_jobs:
|
||||||
- name: "ubuntu:focal:cmake"
|
- name: "ubuntu:focal:cmake"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
|
|
||||||
- codename: jammy
|
- codename: jammy
|
||||||
distro_version: "22.04"
|
distro_version: "22.04"
|
||||||
|
@ -196,7 +190,6 @@ distributions:
|
||||||
build_jobs:
|
build_jobs:
|
||||||
- name: "ubuntu:jammy:cmake"
|
- name: "ubuntu:jammy:cmake"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
BUILD_DOC: "OFF"
|
|
||||||
|
|
||||||
- name: arch
|
- name: arch
|
||||||
images:
|
images:
|
||||||
|
|
|
@ -4,7 +4,11 @@
|
||||||
# check if Doxygen is installed
|
# check if Doxygen is installed
|
||||||
find_package(Doxygen)
|
find_package(Doxygen)
|
||||||
|
|
||||||
option_with_deps(BUILD_DOC "Build documentation" DEPENDS DOXYGEN_FOUND)
|
option_with_deps(
|
||||||
|
BUILD_DOC "Build documentation"
|
||||||
|
DEFAULT OFF
|
||||||
|
DEPENDS DOXYGEN_FOUND
|
||||||
|
)
|
||||||
option_with_deps(
|
option_with_deps(
|
||||||
BUILD_DOC_WARN_UNDOCUMENTED "Warn on undocumented entities when building documentation"
|
BUILD_DOC_WARN_UNDOCUMENTED "Warn on undocumented entities when building documentation"
|
||||||
DEFAULT OFF
|
DEFAULT OFF
|
||||||
|
|
Loading…
Reference in a new issue