2013-10-09 21:35:35 +02:00
|
|
|
|
2016-02-24 10:23:06 +01:00
|
|
|
set(glfw_DOCS_SOURCES
|
|
|
|
"${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/quick.dox"
|
2019-04-01 18:36:30 +02:00
|
|
|
"${GLFW_SOURCE_DIR}/docs/moving.dox"
|
2016-02-24 10:23:06 +01:00
|
|
|
"${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"
|
2018-01-17 11:25:32 +01:00
|
|
|
"${GLFW_SOURCE_DIR}/docs/compat.dox"
|
|
|
|
"${GLFW_SOURCE_DIR}/docs/internal.dox")
|
2016-02-24 10:23:06 +01:00
|
|
|
|
|
|
|
foreach(arg ${glfw_DOCS_SOURCES})
|
2017-09-24 17:04:47 +02:00
|
|
|
set(GLFW_DOCS_SOURCES "${GLFW_DOCS_SOURCES} \\\n\"${arg}\"")
|
2016-02-24 10:23:06 +01:00
|
|
|
endforeach()
|
|
|
|
|
|
|
|
configure_file(Doxyfile.in Doxyfile @ONLY)
|
2017-11-17 04:34:18 +01:00
|
|
|
|
2016-02-24 10:23:06 +01:00
|
|
|
add_custom_target(docs ALL "${DOXYGEN_EXECUTABLE}"
|
|
|
|
WORKING_DIRECTORY "${GLFW_BINARY_DIR}/docs"
|
2013-10-09 21:35:35 +02:00
|
|
|
COMMENT "Generating HTML documentation" VERBATIM)
|
|
|
|
|