Add clang-tidy conf
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user