Browse Source

Print message if clang-tidy is not enabled

Tobias Hieta 8 years ago
parent
commit
46b45e66f1
1 changed files with 2 additions and 0 deletions
  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()