Only skip *.cpp files for doc generation on travis

This commit is contained in:
Matthias Kuhn 2016-01-07 13:33:35 +01:00
parent f8f056e0b2
commit 2b7c5c1d1c
3 changed files with 5 additions and 3 deletions

View File

@ -15,7 +15,9 @@ cmake -DWITH_SERVER=ON \
-DENABLE_PGTEST=ON \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=ON \
-DDOXYGEN_FILE_PATTERN="*.h" \
-DWITH_ASTYLE=ON \
-DWITH_PYSPATIALITE=ON \
-DGRASS_PREFIX7=/usr/lib/grass70 \
-DGRASS_INCLUDE_DIR7=/usr/lib/grass70/include ..
-DGRASS_INCLUDE_DIR7=/usr/lib/grass70/include \
..

View File

@ -622,8 +622,7 @@ INPUT_ENCODING = UTF-8
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
FILE_PATTERNS = *.h \
*.dox
FILE_PATTERNS = @DOXYGEN_FILE_PATTERN@
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.

View File

@ -40,6 +40,7 @@ IF(WITH_APIDOC)
SET(DOXYGEN_TAGS ${QT_TAG_FILE}=${QT_DOC_URL})
ENDIF(QT_TAG_FILE)
SET (DOXYGEN_FILEPATTERN "*.cpp *.h *.dox" CACHE STRING "File pattern to be parsed by doxygen.")
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake_templates/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
ADD_CUSTOM_TARGET(apidoc ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile