Skip to content

Resolve "(build): debian package build prevents networking access"

Description

An option to disable the build of samples and tutorials has been added. This will be useful for the Debian package. This can also be valuable to speed-up the build of Sight when it is used as a submodule.

Closes #790 (closed)

How to test it?

  • Disable the CMake option SIGHT_BUILD_EXAMPLES
  • Run ninja Tuto01Basic, ninja ExNotifications or any tutorial/example
  • Observe they do not build, the target is not found
  • Enable the CMake option SIGHT_BUILD_EXAMPLES
  • Run ninja Tuto01Basic, ninja ExNotifications or any tutorial/example
  • Observe they build normally

You can also just watch the output of CMake configuring tool and trust it. 😉

Edited by Flavien BRIDAULT

Merge request reports