mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
Merge topic 'rel-src-cleanup' into release-4.0
57a24181edclang-tidy: Do not require config file if not running clang-tidyaa42ba1ac8gitattributes: Do not export pre-commit config file in source archives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10371
This commit is contained in:
commit
a96a80ca09
3 files changed
+6
-3
No files matched your search
@@ -4,6 +4,7 @@
|
||||
.clang-tidy export-ignore
|
||||
.codespellrc export-ignore
|
||||
.editorconfig export-ignore
|
||||
.pre-commit-config.yaml export-ignore
|
||||
.typos.toml export-ignore
|
||||
|
||||
# Custom attribute to mark sources as using our C code style.
|
||||
|
||||
+1
-1
@@ -325,8 +325,8 @@ if(CMake_RUN_CLANG_TIDY)
|
||||
unset(clang_tidy_module_sha1)
|
||||
endif()
|
||||
|
||||
configure_file(.clang-tidy .clang-tidy COPYONLY)
|
||||
endif()
|
||||
configure_file(.clang-tidy .clang-tidy COPYONLY)
|
||||
|
||||
|
||||
option(CMake_RUN_IWYU "Run include-what-you-use with the compiler." OFF)
|
||||
|
||||
@@ -17,5 +17,7 @@ if(CMake_BUILD_WIX_CUSTOM_ACTION)
|
||||
add_subdirectory(Release/WiX)
|
||||
endif()
|
||||
|
||||
# Make sure generated files use the same clang-tidy checks (none).
|
||||
configure_file(.clang-tidy .clang-tidy COPYONLY)
|
||||
if(CMake_RUN_CLANG_TIDY)
|
||||
# Make sure generated files use the same clang-tidy checks (none).
|
||||
configure_file(.clang-tidy .clang-tidy COPYONLY)
|
||||
endif()
|
||||
Reference in new issue
Block a user