Explorar el Código

Print message if clang-tidy is not enabled

Tobias Hieta hace 8 años
padre
commit
46b45e66f1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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()