yadro-task/CMakeLists.txt

17 lines
350 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.12)
2024-10-19 02:36:22 +00:00
project(yadro-task VERSION 0.1 LANGUAGES CXX)
2024-10-19 02:36:22 +00:00
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
2024-10-19 02:36:22 +00:00
# clang-tidy
find_program(CLANG_TIDY_EXE NAMES clang-tidy REQUIRED)
set(CMAKE_CXX_CLANG_TIDY ${CLANG_TIDY_EXE})
enable_testing()
2024-10-19 02:36:22 +00:00
add_subdirectory(src)
add_subdirectory(bin)
add_subdirectory(tests)