This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/CMakeLists.txt

24 lines
534 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.6)
2018-05-10 16:41:14 +00:00
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
2019-01-29 13:01:17 +00:00
include(cmake/conan.cmake)
conan_cmake_run(CONANFILE conanfile.txt
BASIC_SETUP
BUILD missing
)
2019-01-29 13:01:17 +00:00
2018-11-20 22:05:49 +00:00
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()
2018-05-10 16:41:14 +00:00
add_subdirectory(source)
2019-01-24 20:09:00 +00:00
#add_subdirectory(test)