Compare commits
3 commits
main
...
feature/in
Author | SHA1 | Date | |
---|---|---|---|
|
55f719a56f | ||
|
5c6ed8191b | ||
bb06f17de0 |
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
|
@ -11,5 +11,13 @@ conan_cmake_run(CONANFILE conanfile.txt
|
|||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
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(test)
|
||||
|
|
Loading…
Reference in a new issue