-
- FindSphinx.cmake for precondition checks - cmake flags WITH_DOC and WITH_API_DOC - Add automatic version string for documentation - Fix tab/spaces, and some name attributes in example configurations Signed-off-by:
Rene Paris <rene.paris@in-tech.com> Signed-off-by:
Reinhard Biegel <reinhard.biegel@in-tech.com>
- FindSphinx.cmake for precondition checks - cmake flags WITH_DOC and WITH_API_DOC - Add automatic version string for documentation - Fix tab/spaces, and some name attributes in example configurations Signed-off-by:
Rene Paris <rene.paris@in-tech.com> Signed-off-by:
Reinhard Biegel <reinhard.biegel@in-tech.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
FindSphinx.cmake 783 B
################################################################################
# Copyright (c) 2021 in-tech GmbH
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
################################################################################
#
# Find Package Adapter for "Sphinx"
#
# @see http://sphinx-doc.org/
#
# - SPHINX_EXECUTABLE: The executable
# - SPHINX_FOUND: True if Sphinx was found
#
include(FindPackageHandleStandardArgs)
find_program(SPHINX_EXECUTABLE sphinx-build "Path to the sphinx-build executable")
find_package_handle_standard_args(Sphinx "Unable to locate sphinx-build" SPHINX_EXECUTABLE)