Skip to content

Commit

Permalink
CMake: allow disabling of python automoc
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jul 11, 2024
1 parent eef05b4 commit b70c58f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ option(INSTALL_DOCUMENTATION "Generate and install the documentation" OFF)
option(COAL_TURN_ASSERT_INTO_EXCEPTION "Turn some critical Coal asserts to exception." FALSE)
option(COAL_ENABLE_LOGGING "Activate logging for warnings or error messages. Turned on by default in Debug." FALSE)
option(COAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL "Make Coal retro-compatible with HPP-FCL." FALSE)
option(ENABLE_PYTHON_DOXYGEN_AUTODOC "Enable automatic documentation of Python bindings from Doxygen documentation" TRUE)

# Check if the submodule cmake have been initialized
set(JRL_CMAKE_MODULES "${CMAKE_CURRENT_LIST_DIR}/cmake")
Expand Down
2 changes: 0 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ SET(${PYTHON_LIB_NAME}_HEADERS
serializable.hh
)

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)
SET(ENABLE_DOXYGEN_AUTODOC FALSE)
Expand Down

0 comments on commit b70c58f

Please sign in to comment.