phosek created this revision. phosek added a project: clang-tools-extra. Herald added subscribers: xazax.hun, mgorny.
Use add_clang_tool rather than add_clang_executable to support clang-tidy as a distribution component. Repository: rL LLVM https://reviews.llvm.org/D32815 Files: clang-tidy/tool/CMakeLists.txt Index: clang-tidy/tool/CMakeLists.txt =================================================================== --- clang-tidy/tool/CMakeLists.txt +++ clang-tidy/tool/CMakeLists.txt @@ -2,7 +2,7 @@ support ) -add_clang_executable(clang-tidy +add_clang_tool(clang-tidy ClangTidyMain.cpp ) add_dependencies(clang-tidy
Index: clang-tidy/tool/CMakeLists.txt =================================================================== --- clang-tidy/tool/CMakeLists.txt +++ clang-tidy/tool/CMakeLists.txt @@ -2,7 +2,7 @@ support ) -add_clang_executable(clang-tidy +add_clang_tool(clang-tidy ClangTidyMain.cpp ) add_dependencies(clang-tidy
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits