-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7219 from mayrmt/7218-xpetra-add-doxygen-target
Xpetra: add build target for doxygen documentation
- Loading branch information
Showing
13 changed files
with
354 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Doxygen | ||
|
||
`MueLu`'s documentation is built in the build tree: | ||
|
||
1. Run your `cmake` configure line or script. | ||
1. In the <buildDirectory>, type `make doc_muelu`. | ||
|
||
The documentation will be placed in `<buildDirectory>/packages/muelu/doc/html`. | ||
|
||
# User's Guide | ||
|
||
The user's guide is in `muelu/doc/UsersGuide`. | ||
To build the guide, simply run `make` in `muelu/doc/UsersGuide`, which should produce `mueluguide.pdf`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# add a target to generate API documentation with Doxygen | ||
find_package(Doxygen) | ||
if(DOXYGEN_FOUND) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) | ||
add_custom_target(doc_xpetra | ||
TRILINOS_HOME=${PROJECT_SOURCE_DIR} ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
COMMENT "Generating ${PACKAGE_NAME} API documentation with Doxygen" VERBATIM | ||
) | ||
endif(DOXYGEN_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,4 @@ | ||
# Note: all relative paths are relative to package/doc! | ||
# | ||
@INCLUDE = Doxyfile.options | ||
TAGFILES += \ | ||
$(TRILINOS_HOME)/packages/common/tag_files/teuchos.tag=$(TRILINOS_HOME)/packages/teuchos/doc/html \ | ||
$(TRILINOS_HOME)/packages/common/tag_files/epetra.tag=$(TRILINOS_HOME)/packages/epetra/doc/html \ | ||
$(TRILINOS_HOME)/packages/common/tag_files/epetra.tag=$(TRILINOS_HOME)/packages/tpetra/doc/html | ||
# | ||
# Package options | ||
# | ||
PROJECT_NAME = "Xpetra" | ||
OUTPUT_DIRECTORY = . | ||
# | ||
# What and how documentation is extracted | ||
# | ||
INPUT = ../src ./Xpetra_DoxygenDocumentation.hpp ../sup | ||
#FILE_PATTERNS = *.h *c *.hpp *.cpp | ||
RECURSIVE = YES | ||
EXCLUDE = | ||
EXCLUDE_PATTERNS = *.x *.o *.out | ||
EXAMPLE_PATTERNS = | ||
EXAMPLE_PATH = ../examples . | ||
IMAGE_PATH = ./images | ||
INPUT_FILTER = | ||
ALPHABETICAL_INDEX = YES | ||
IGNORE_PREFIX = | ||
EXTRACT_ALL = YES | ||
EXTRACT_PRIVATE = YES | ||
# | ||
# Links to other packages | ||
# | ||
ALLEXTERNALS = NO | ||
EXTERNAL_GROUPS = NO | ||
GENERATE_TAGFILE = $(TRILINOS_HOME)/packages/common/tag_files/xpetra.tag | ||
HTML_HEADER = header.html | ||
INPUT = ./Xpetra_DoxygenDocumentation.hpp ../src ../sup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# This file is used by doxygen for building documentation in the build tree | ||
# | ||
@INCLUDE = @CMAKE_CURRENT_SOURCE_DIR@/Doxyfile.options | ||
INPUT = @CMAKE_CURRENT_SOURCE_DIR@/Xpetra_DoxygenDocumentation.hpp @CMAKE_CURRENT_SOURCE_DIR@/../src @CMAKE_CURRENT_SOURCE_DIR@/../sup |
Oops, something went wrong.