Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1494277
FindSphinx.cmake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Size
939 B
Referenced Files
None
Subscribers
None
FindSphinx.cmake
View Options
# 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
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 6:38 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
277233
Default Alt Text
FindSphinx.cmake (939 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment