Platformer in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB

5 years ago
  1. set(glfw_DOCS_SOURCES
  2. "${GLFW_SOURCE_DIR}/include/GLFW/glfw3.h"
  3. "${GLFW_SOURCE_DIR}/include/GLFW/glfw3native.h"
  4. "${GLFW_SOURCE_DIR}/docs/main.dox"
  5. "${GLFW_SOURCE_DIR}/docs/news.dox"
  6. "${GLFW_SOURCE_DIR}/docs/moving.dox"
  7. "${GLFW_SOURCE_DIR}/docs/quick.dox"
  8. "${GLFW_SOURCE_DIR}/docs/compile.dox"
  9. "${GLFW_SOURCE_DIR}/docs/build.dox"
  10. "${GLFW_SOURCE_DIR}/docs/intro.dox"
  11. "${GLFW_SOURCE_DIR}/docs/context.dox"
  12. "${GLFW_SOURCE_DIR}/docs/monitor.dox"
  13. "${GLFW_SOURCE_DIR}/docs/window.dox"
  14. "${GLFW_SOURCE_DIR}/docs/input.dox"
  15. "${GLFW_SOURCE_DIR}/docs/vulkan.dox"
  16. "${GLFW_SOURCE_DIR}/docs/compat.dox")
  17. if (GLFW_DOCUMENT_INTERNALS)
  18. list(APPEND glfw_DOCS_SOURCES "${GLFW_SOURCE_DIR}/src/internal.h")
  19. endif()
  20. foreach(arg ${glfw_DOCS_SOURCES})
  21. set(GLFW_DOCS_SOURCES "${GLFW_DOCS_SOURCES} ${arg}")
  22. endforeach()
  23. configure_file(Doxyfile.in Doxyfile @ONLY)
  24. add_custom_target(docs ALL "${DOXYGEN_EXECUTABLE}"
  25. WORKING_DIRECTORY "${GLFW_BINARY_DIR}/docs"
  26. COMMENT "Generating HTML documentation" VERBATIM)