1 # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 # file Copyright.txt or https://cmake.org/licensing for details.
6 if (CMake_DOC_ARTIFACT_PREFIX)
7 # Undocumented option for CI usage to reuse already
9 install(DIRECTORY ${CMake_DOC_ARTIFACT_PREFIX}/
10 DESTINATION . USE_SOURCE_PERMISSIONS)
12 # Normal documentation build.
13 add_subdirectory(Sphinx)
16 if(CMake_BUILD_WIX_CUSTOM_ACTION)
17 add_subdirectory(Release/WiX)
20 # Make sure generated files use the same clang-tidy checks (none).
21 configure_file(.clang-tidy .clang-tidy COPYONLY)