parent
a9b9c4cc33
commit
22a09a53e6
3 changed files with 31 additions and 27 deletions
@ -1,5 +1,33 @@ |
|||||||
|
|
||||||
add_custom_target(docs ALL ${DOXYGEN_EXECUTABLE} |
set(glfw_DOCS_SOURCES |
||||||
WORKING_DIRECTORY ${GLFW_BINARY_DIR}/docs |
"${GLFW_SOURCE_DIR}/include/GLFW/glfw3.h" |
||||||
|
"${GLFW_SOURCE_DIR}/include/GLFW/glfw3native.h" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/main.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/news.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/moving.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/quick.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/compile.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/build.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/intro.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/context.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/monitor.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/window.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/input.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/vulkan.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/rift.dox" |
||||||
|
"${GLFW_SOURCE_DIR}/docs/compat.dox") |
||||||
|
|
||||||
|
if (GLFW_DOCUMENT_INTERNALS) |
||||||
|
list(APPEND glfw_DOCS_SOURCES "${GLFW_SOURCE_DIR}/src/internal.h") |
||||||
|
endif() |
||||||
|
|
||||||
|
foreach(arg ${glfw_DOCS_SOURCES}) |
||||||
|
set(GLFW_DOCS_SOURCES "${GLFW_DOCS_SOURCES} ${arg}") |
||||||
|
endforeach() |
||||||
|
|
||||||
|
configure_file(Doxyfile.in Doxyfile @ONLY) |
||||||
|
|
||||||
|
add_custom_target(docs ALL "${DOXYGEN_EXECUTABLE}" |
||||||
|
WORKING_DIRECTORY "${GLFW_BINARY_DIR}/docs" |
||||||
COMMENT "Generating HTML documentation" VERBATIM) |
COMMENT "Generating HTML documentation" VERBATIM) |
||||||
|
|
||||||
|
Loading…
Reference in New Issue