Commit 3a4dc1c5 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Add option to turn off generation of Python documentation.

parent f5e1a892
......@@ -42,7 +42,11 @@ SET(${LIBRARY_NAME}_HEADERS
fcl.hh
)
IF(NOT DOXYGEN_FOUND OR (APPLE AND PYTHON_VERSION_MAJOR LESS 3))
SET(ENABLE_PYTHON_DOXYGEN_AUTODOC TRUE CACHE BOOL "Enable automatic documentation of Python bindings from Doxygen documentation")
IF( NOT ENABLE_PYTHON_DOXYGEN_AUTODOC
OR NOT DOXYGEN_FOUND
OR (APPLE AND PYTHON_VERSION_MAJOR LESS 3)) # Disable documentation on APPLE for python 2.
SET(ENABLE_DOXYGEN_AUTODOC FALSE)
ELSE()
SET(ENABLE_DOXYGEN_AUTODOC TRUE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment