Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user