From 6e79722cc0007c53b74a0f804767ef2565c20ef4 Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Tue, 17 Apr 2018 09:05:54 +0200 Subject: Build Clazy inside tools/extra Provide special extra flag for Clazy to make it know it's built inside clang sources and add it's folder as tools/extra subfolder. Change-Id: I3feaff67fbbf8016c09dd88737398417581e6ae9 Reviewed-by: Ivan Donchevskii --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 760340a6..53f720c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,8 @@ if(CLANG_ENABLE_STATIC_ANALYZER) add_subdirectory(clang-tidy) add_subdirectory(clang-tidy-vs) endif() +set(CLAZY_BUILD_WITH_CLANG 1) +add_subdirectory(clazy) add_subdirectory(change-namespace) add_subdirectory(clang-query) -- cgit v1.2.3