Files
Sabalty/CMakeLists.txt
T
2026-08-04 18:05:30 +03:00

26 lines
532 B
CMake

cmake_minimum_required(VERSION 4.3.4)
project(Sabalty)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
option(BUILD_TESTING "Build tests" OFF)
if(BUILD_TESTING)
enable_testing()
include(FetchContent)
FetchContent_Declare(
Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.15.3
)
FetchContent_MakeAvailable(Catch2)
include(CTest)
include(Catch)
endif()
add_subdirectory(Server)
add_subdirectory(Protocol)