Add clang-tidy conf

This commit is contained in:
2023-07-20 23:55:01 +02:00
parent f519003766
commit 48bfa02e1d
4 changed files with 21 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")
# Options
# -------
option(ENABLE_CLANG_TIDY "Enable to add clang tidy." OFF)
option(ENABLE_CLANG_TIDY "Enable to add clang tidy." ON)
option(ENABLE_TESTING "Unit testing build" ON)
option(CODE_COVERAGE "Collect coverage from test library" ON)
@@ -71,4 +71,4 @@ if (ENABLE_TESTING)
include(CTest)
#include(Catch)
add_subdirectory(tests)
endif (ENABLE_TESTING)
endif (ENABLE_TESTING)