erius
f8bfc78cad
Implemented reading settings from config file ftsort now outputs total runtime in ms and peak virtual memory usage Added some error handling Added documenation to tape_config.h Changed catch2 cmake dependency to be resolved using FetchContent Added generate_input test binary to generate big input tape data sets Header inclusion path changed to _include_ directory, so that tapelib has to be explicitly specified in include directrives
16 lines
350 B
CMake
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)
|