[RFC] cmake: GENERATE_DOC=OFF

It takes quite a while to build the docs (mostly due to the examples),
so this is turning it off by default.
This commit is contained in:
Daniel Hahler 2019-02-22 08:40:31 +01:00
parent c4ff89a5fe
commit 2eb33efe3b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ include(AutoOption.cmake)
autoOption(WITH_DBUS "build with D-BUS") autoOption(WITH_DBUS "build with D-BUS")
autoOption(GENERATE_MANPAGES "generate manpages") autoOption(GENERATE_MANPAGES "generate manpages")
option(COMPRESS_MANPAGES "compress manpages" ON) option(COMPRESS_MANPAGES "compress manpages" ON)
option(GENERATE_DOC "generate API documentation" ON) option(GENERATE_DOC "generate API documentation" OFF)
option(DO_COVERAGE "build with coverage" OFF) option(DO_COVERAGE "build with coverage" OFF)
if (GENERATE_DOC AND DO_COVERAGE) if (GENERATE_DOC AND DO_COVERAGE)
message(STATUS "Not generating API documentation with DO_COVERAGE") message(STATUS "Not generating API documentation with DO_COVERAGE")