Skip to content

Commit

Permalink
Enable citations in Doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Nov 13, 2019
1 parent 182bb12 commit 3e1a13e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions doc/doxygen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ if(DOXYGEN_FOUND)
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)

configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bibliography.bib
${CMAKE_CURRENT_BINARY_DIR}/bibliography.bib
COPYONLY)

add_custom_target(doxygen
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen"
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/doxy-features
${CMAKE_CURRENT_BINARY_DIR}/bibliography.bib
VERBATIM
)

Expand Down
4 changes: 2 additions & 2 deletions doc/doxygen/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ LAYOUT_FILE =
# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this
# feature you need bibtex and perl available in the search path.

CITE_BIB_FILES =
CITE_BIB_FILES = bibliography.bib

#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
Expand Down Expand Up @@ -1315,7 +1315,7 @@ LATEX_SOURCE_CODE = NO
# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See
# http://en.wikipedia.org/wiki/BibTeX for more info.

LATEX_BIB_STYLE = plain
LATEX_BIB_STYLE = plainnat

#---------------------------------------------------------------------------
# configuration options related to the RTF output
Expand Down
Empty file added doc/doxygen/bibliography.bib
Empty file.

0 comments on commit 3e1a13e

Please sign in to comment.