Skip to content
Snippets Groups Projects
Select Git revision
  • c28163ad8557e879f56d7826a6614dae08f5c7f8
  • master default protected
  • dither_on_off_disabled
  • yocto
  • pypcc2
  • pypcc3
  • 2020-12-07-the_only_working_copy
  • v2.1
  • v2.0
  • v1.0
  • v0.9
  • Working-RCU_ADC,ID
  • 2020-12-11-Holiday_Season_release
13 results

hwtr

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    FindSphinx.cmake 860 B
    # CMake find_package() Module for Sphinx documentation generator
    # http://sphinx-doc.org/
    #
    # Example usage:
    #
    # find_package(Sphinx)
    #
    # If successful the following variables will be defined SPHINX_FOUND
    # SPHINX_EXECUTABLE
    
    find_program(
      SPHINX_EXECUTABLE
      NAMES sphinx-build sphinx-build2
      DOC "Path to sphinx-build executable")
    
    # Handle REQUIRED and QUIET arguments this will also set SPHINX_FOUND to true if
    # SPHINX_EXECUTABLE exists
    include(FindPackageHandleStandardArgs)
    find_package_handle_standard_args(
      Sphinx "Failed to locate sphinx-build executable" SPHINX_EXECUTABLE)
    
    # Provide options for controlling different types of output
    option(SPHINX_OUTPUT_HTML "Output standalone HTML files" ON)
    option(SPHINX_OUTPUT_MAN "Output man pages" ON)
    
    option(SPHINX_WARNINGS_AS_ERRORS
           "When building documentation treat warnings as errors" ON)