yadro-task/CMakeLists.txt
erius cab1b88a77 Restuctured source tree - added bin and tests directories
Disabled warnings as errors
bumped the cmake min version to 3.12 for c++20 support and -j flag
Placed a CMakeLists.txt in each subdirectory of the project
2024-10-24 04:25:45 +03:00

16 lines
350 B
CMake

cmake_minimum_required(VERSION 3.12)
project(yadro-task VERSION 0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# clang-tidy
find_program(CLANG_TIDY_EXE NAMES clang-tidy REQUIRED)
set(CMAKE_CXX_CLANG_TIDY ${CLANG_TIDY_EXE})
enable_testing()
add_subdirectory(src)
add_subdirectory(bin)
add_subdirectory(tests)