-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
42 lines (31 loc) · 1.13 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2023 The Arda Project Authors. All rights reserved.
#
# Copying, utilizing or revealing any part or entirety of this file
# and its contents without proper authorization is not allowed.
cmake_minimum_required(VERSION 3.26)
include(FetchContent)
message("-- Setting up VCPKG package manager tool")
FetchContent_Declare(
vcpkg
GIT_REPOSITORY https://github.com/microsoft/vcpkg.git
GIT_TAG 4a600e9fea71bd7872080cbb716797e04d30e6d3
)
FetchContent_MakeAvailable(vcpkg)
set(CMAKE_TOOLCHAIN_FILE ${vcpkg_SOURCE_DIR}/scripts/buildsystems/vcpkg.cmake)
project(ArdaLiveMediaServer LANGUAGES CXX VERSION 0.0.1)
enable_testing()
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake)
include(AddGitSubmodule)
include(Docs)
find_package(Drogon CONFIG REQUIRED)
find_package(LibDataChannel CONFIG REQUIRED)
find_package(opentelemetry-cpp CONFIG REQUIRED)
find_package(Boost COMPONENTS thread REQUIRED)
find_package(nlohmann_json CONFIG REQUIRED)
add_subdirectory(Gondor)
add_subdirectory(Media)
add_subdirectory(MediaServer)
add_subdirectory(HttpServer)
add_subdirectory(App)
add_subdirectory(UnitTests)