Compare commits
No commits in common. "feature/integrate-clang-tidy" and "main" have entirely different histories.
feature/in
...
main
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.6)
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
@ -11,13 +11,5 @@ conan_cmake_run(CONANFILE conanfile.txt
|
|||||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||||
conan_basic_setup()
|
conan_basic_setup()
|
||||||
|
|
||||||
find_program(CLANG_TIDY_EXE NAMES "clang-tidy")
|
|
||||||
if (CLANG_TIDY_EXE)
|
|
||||||
message(STATUS "clang-tidy found in ${CLANG_TIDY_EXE}")
|
|
||||||
set(CMAKE_CXX_CLANG_TIDY= "${CLANG_TIDY_EXE}")
|
|
||||||
else()
|
|
||||||
message(WARNING "clang-tidy missing, no checks!")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_subdirectory(source)
|
add_subdirectory(source)
|
||||||
#add_subdirectory(test)
|
#add_subdirectory(test)
|
||||||
|
Reference in New Issue
Block a user