Add 'doc' target to PolyVox to create doxygen docs
This commit is contained in:
parent
5b52f8c65f
commit
2ae98647f6
@ -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
1534
library/Doxyfile.in
Normal file
File diff suppressed because it is too large
Load Diff
11
library/Mainpage.dox
Normal file
11
library/Mainpage.dox
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
\mainpage PolyVox Framework
|
||||
|
||||
The PolyVox documentation.
|
||||
|
||||
\par
|
||||
\author David Williams
|
||||
|
||||
\namespace PolyVox
|
||||
\brief Main namespace
|
||||
*/
|
Loading…
x
Reference in New Issue
Block a user