The source code and dockerfile for the GSW2024 AI Lab.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

20 lines
662 B

4 weeks ago
  1. string(REPLACE "." "_" DOXYGEN_TAG ${DOXYGEN_VERSION})
  2. ExternalProject_Add(
  3. Doxygen-EP
  4. GIT_REPOSITORY "https://github.com/doxygen/doxygen.git"
  5. GIT_TAG Release_${DOXYGEN_TAG}
  6. UPDATE_COMMAND ""
  7. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
  8. )
  9. ExternalProject_Get_Property(Doxygen-EP INSTALL_DIR)
  10. # If find_package succeeded but found an old version, the target is already created.
  11. if(NOT TARGET Doxygen::doxygen)
  12. add_executable(Doxygen::doxygen IMPORTED GLOBAL)
  13. endif()
  14. set_target_properties(Doxygen::doxygen PROPERTIES IMPORTED_LOCATION "${INSTALL_DIR}/bin/doxygen")
  15. add_dependencies(Doxygen::doxygen Doxygen-EP)
  16. add_dependencies(resources Doxygen-EP)