Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/CMakeLists.txt
3138 views
1
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2
# file LICENSE.rst or https://cmake.org/licensing for details.
3
4
subdirs(Doxygen)
5
6
if (CMake_DOC_ARTIFACT_PREFIX)
7
# Undocumented option for CI usage to reuse already
8
# built documentation.
9
install(DIRECTORY ${CMake_DOC_ARTIFACT_PREFIX}/
10
DESTINATION . USE_SOURCE_PERMISSIONS)
11
else()
12
# Normal documentation build.
13
add_subdirectory(Sphinx)
14
endif()
15
16
if(CMake_BUILD_WIX_CUSTOM_ACTION)
17
add_subdirectory(Release/WiX)
18
endif()
19
20
if(CMake_RUN_CLANG_TIDY)
21
# Make sure generated files use the same clang-tidy checks (none).
22
configure_file(.clang-tidy .clang-tidy COPYONLY)
23
endif()
24
25