Browse Source

Print message if clang-tidy is not enabled

Tobias Hieta 8 năm trước cách đây
mục cha
commit
46b45e66f1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      CMakeModules/ClangTidy.cmake

+ 2 - 0
CMakeModules/ClangTidy.cmake

@@ -16,4 +16,6 @@ if(CMAKE_EXPORT_COMPILE_COMMANDS)
     )
 
   endif()
+else()
+  message(STATUS "clang-tidy not enabled, pass -DCMAKE_EXPORT_COMPILE_COMMANDS=on to cmake to enable it")
 endif()