Introduced BUILD_REFERENCE_DOCS option to make it a bit clearer how to enable and build the DoxygenDocs
This commit is contained in:
parent
a586d63687
commit
f3b160c83a
@ -444,6 +444,12 @@ IF(APPLE)
|
|||||||
ENDIF(APPLE)
|
ENDIF(APPLE)
|
||||||
|
|
||||||
|
|
||||||
|
OPTION(BUILD_REFERENCE_DOCS "Build OpenSceneGraph reference documentation using doxygen (use: make DoxygenDoc)" OFF)
|
||||||
|
|
||||||
|
IF(BUILD_REFERENCE_DOCS)
|
||||||
|
SET(BUILD_DOCUMENTATION YES)
|
||||||
|
ENDIF(BUILD_REFERENCE_DOCS)
|
||||||
|
|
||||||
# For Doxygen
|
# For Doxygen
|
||||||
#FIXME: I haven't figured out what to do with OSG's multiple doxyfiles
|
#FIXME: I haven't figured out what to do with OSG's multiple doxyfiles
|
||||||
# and footer.
|
# and footer.
|
||||||
@ -452,6 +458,7 @@ INCLUDE(${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL)
|
|||||||
# To build the documention, you will have to enable it
|
# To build the documention, you will have to enable it
|
||||||
# and then do the equivalent of "make DoxygenDoc".
|
# and then do the equivalent of "make DoxygenDoc".
|
||||||
IF(BUILD_DOCUMENTATION)
|
IF(BUILD_DOCUMENTATION)
|
||||||
|
SET(BUILD_DOCUMENTATION YES)
|
||||||
IF(DOT)
|
IF(DOT)
|
||||||
SET(HAVE_DOT YES)
|
SET(HAVE_DOT YES)
|
||||||
ELSE(DOT)
|
ELSE(DOT)
|
||||||
|
Loading…
Reference in New Issue
Block a user