Set BUILD_DOCUMENTATION to OFF by default and ignore ifcopenshell python documentation generation

This commit is contained in:
johltn
2020-10-25 12:52:48 +01:00
parent a25c6245bf
commit 2243e0ab14
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -15,3 +15,4 @@ __pycache__
/docs/output
/docs/rst_files
/docs/doxygen
/src/ifcblenderexport/docs/_build
+6 -6
View File
@@ -37,6 +37,7 @@ OPTION(IFCXML_SUPPORT "Build IfcParse with ifcXML support (requires libxml2)." O
OPTION(ENABLE_BUILD_OPTIMIZATIONS "Enable certain compiler and linker optimizations on RelWithDebInfo and Release builds." OFF)
OPTION(IFCCONVERT_DOUBLE_PRECISION "IfcConvert: Use double precision floating-point numbers." ON)
OPTION(BUILD_IFCGEOM "Build IfcGeom." ON)
OPTION(BUILD_DOCUMENTATION "Build IfcOpenShell Documentation." OFF)
OPTION(BUILD_IFCPYTHON "Build IfcPython." ON)
OPTION(BUILD_EXAMPLES "Build example applications." ON)
OPTION(BUILD_GEOMSERVER "Build IfcGeomServer executable." ON)
@@ -659,12 +660,11 @@ INSTALL(TARGETS IfcGeomServer
endif()
# Documentation
set(CMAKE_MODULE_PATH "../docs/cmake")
ADD_SUBDIRECTORY(../docs docs)
# Documentation
IF(BUILD_DOCUMENTATION)
set(CMAKE_MODULE_PATH "../docs/cmake")
ADD_SUBDIRECTORY(../docs docs)
ENDIF()
IF(BUILD_IFCPYTHON)
ADD_SUBDIRECTORY(../src/ifcwrap ifcwrap)