Add 'doc' target to PolyVox to create doxygen docs

This commit is contained in:
Matt Williams 2009-03-02 16:43:25 +00:00
parent 5b52f8c65f
commit 2ae98647f6
3 changed files with 1551 additions and 0 deletions

View File

@ -136,3 +136,9 @@ endif(WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PolyVoxConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake DESTINATION ${CONFIG_FILE_DIR})
find_package(Doxygen)
if(DOXYGEN_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building documentation" VERBATIM)
endif()

1534
library/Doxyfile.in Normal file

File diff suppressed because it is too large Load Diff

11
library/Mainpage.dox Normal file
View File

@ -0,0 +1,11 @@
/**
\mainpage PolyVox Framework
The PolyVox documentation.
\par
\author David Williams
\namespace PolyVox
\brief Main namespace
*/