GENERATE_DOXYGEN¶
Boolean specifying whether or not to pass a target’s source files to doxygen
as input for documentation.
To exclude certain source files from documentation while keeping the target itself, see the source file property GENERATE_DOXYGEN
.
Upon introduction of a target, GENERATE_DOXYGEN
gets initialized with the value in DOXYGEN_GENERATE_DOXYGEN
, i.e.
# ...
set(DOXYGEN_GENERATE_DOXYGEN ON)
add_library(
FooWithDocs # is included in the documentation
# ...
)
set(DOXYGEN_GENERATE_DOXYGEN OFF)
add_library(
FooWithoutDocs # isn't included in the documentation
# ...
)
# ...