Tweaked Doxyfile version, modified NCXX_ENABLE_DOXYGEN to ENABLE_DOXYGEN.

This commit is contained in:
Ward Fisher 2016-02-11 18:28:20 +00:00
parent 5db5c2ebbc
commit f5450a17f7
2 changed files with 5 additions and 5 deletions

View File

@ -247,8 +247,8 @@ ENDIF()
##
# Enable doxygen-generated documentation.
##
OPTION(NCXX_ENABLE_DOXYGEN "Enable generation of doxygen-based documentation." OFF)
IF(NCXX_ENABLE_DOXYGEN)
OPTION(ENABLE_DOXYGEN "Enable generation of doxygen-based documentation." OFF)
IF(ENABLE_DOXYGEN)
FIND_PACKAGE(Doxygen REQUIRED)
FIND_PROGRAM(NCXX_DOT NAMES dot)
IF(NCXX_DOT)
@ -538,7 +538,7 @@ INCLUDE_DIRECTORIES(cxx4 examples)
ADD_SUBDIRECTORY(cxx4)
ADD_SUBDIRECTORY(examples)
IF(NCXX_ENABLE_DOXYGEN)
IF(ENABLE_DOXYGEN)
ADD_SUBDIRECTORY(docs)
ENDIF()

View File

@ -38,7 +38,7 @@ PROJECT_NAME = netCDF-CXX4
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 4.4.1-development
PROJECT_NUMBER = 4.4.2-development
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
@ -921,7 +921,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.
USE_MDFILE_AS_MAINPAGE =
USE_MDFILE_AS_MAINPAGE = mainpage.md
#---------------------------------------------------------------------------
# Configuration options related to source browsing