erius
33fee958a5
Added 2 new constructors for FileTape which copy the size of existing tape into a new one Implemented external sort of a Tape using heap sort Rewritten FileTape constructors implementation to better take advantage of existing constructor calls Added const to some parameters to indicate their immutability Added unit tests for external_sort
17 lines
378 B
CMake
17 lines
378 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)
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
|
|
# 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)
|