Skip to content

Commit 8dfb955

Browse files
author
Jason Mobarak
committed
write clang-tidy to build dir
1 parent f22a0f0 commit 8dfb955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClangTidy.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function(swift_create_clang_tidy_targets)
166166
string(REPLACE ";" "," comma_checks "${all_checks}")
167167

168168
# Generate .clang-tidy in project root dir
169-
file(WRITE ${CMAKE_SOURCE_DIR}/.clang-tidy "\
169+
file(WRITE ${CMAKE_BINARY_DIR}/.clang-tidy "\
170170
# Automatically generated, do not edit
171171
# Enabled checks are generated from SwiftClangTidy.cmake
172172
Checks: \"${comma_checks}\"

0 commit comments

Comments
 (0)