CMakeLists.txt 670 B

1234567891011121314151617181920212223
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file LICENSE.rst or https://cmake.org/licensing for details.
  3. subdirs(Doxygen)
  4. if (CMake_DOC_ARTIFACT_PREFIX)
  5. # Undocumented option for CI usage to reuse already
  6. # built documentation.
  7. install(DIRECTORY ${CMake_DOC_ARTIFACT_PREFIX}/
  8. DESTINATION . USE_SOURCE_PERMISSIONS)
  9. else()
  10. # Normal documentation build.
  11. add_subdirectory(Sphinx)
  12. endif()
  13. if(CMake_BUILD_WIX_CUSTOM_ACTION)
  14. add_subdirectory(Release/WiX)
  15. endif()
  16. if(CMake_RUN_CLANG_TIDY)
  17. # Make sure generated files use the same clang-tidy checks (none).
  18. configure_file(.clang-tidy .clang-tidy COPYONLY)
  19. endif()