Skip to content

Commit b70c58f

Browse files
committed
CMake: allow disabling of python automoc
1 parent eef05b4 commit b70c58f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ option(INSTALL_DOCUMENTATION "Generate and install the documentation" OFF)
5353
option(COAL_TURN_ASSERT_INTO_EXCEPTION "Turn some critical Coal asserts to exception." FALSE)
5454
option(COAL_ENABLE_LOGGING "Activate logging for warnings or error messages. Turned on by default in Debug." FALSE)
5555
option(COAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL "Make Coal retro-compatible with HPP-FCL." FALSE)
56+
option(ENABLE_PYTHON_DOXYGEN_AUTODOC "Enable automatic documentation of Python bindings from Doxygen documentation" TRUE)
5657

5758
# Check if the submodule cmake have been initialized
5859
set(JRL_CMAKE_MODULES "${CMAKE_CURRENT_LIST_DIR}/cmake")

python/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ SET(${PYTHON_LIB_NAME}_HEADERS
5353
serializable.hh
5454
)
5555

56-
SET(ENABLE_PYTHON_DOXYGEN_AUTODOC TRUE CACHE BOOL "Enable automatic documentation of Python bindings from Doxygen documentation")
57-
5856
IF( NOT ENABLE_PYTHON_DOXYGEN_AUTODOC
5957
OR NOT DOXYGEN_FOUND)
6058
SET(ENABLE_DOXYGEN_AUTODOC FALSE)

0 commit comments

Comments
 (0)