Skip to content

Commit

Permalink
Doxygen config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Litvinets committed Nov 17, 2014
1 parent a01ae71 commit e881a02
Show file tree
Hide file tree
Showing 3 changed files with 2,314 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Source files generated by CMake configure_file() command from *.in files
docs/man/nfstrace.8
docs/html
src/api/plugin_api.h
src/controller/build_info.h

Expand Down
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,13 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
WORKING_DIRECTORY ${CMAKE_PROJECT_DIR})
endif ()
endif ()

# documentation ================================================================

find_program (DOXYGEN_PATH doxygen)

if (DOXYGEN_PATH)
add_custom_target (documentation
COMMAND ${DOXYGEN_PATH} Doxyfile
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
endif ()
Loading

0 comments on commit e881a02

Please sign in to comment.