Добавил C++-сервер

This commit is contained in:
2024-01-15 03:50:14 +03:00
parent 97387befe1
commit 68e421b336
46 changed files with 919 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Модуль для работы с json
project(la_json)
# Создаём библиотеку
add_library(${PROJECT_NAME} INTERFACE)
# Указываем директории с заголовочными файлами
target_include_directories(${PROJECT_NAME}
INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/include
)
# Подключаем зависимости
target_link_libraries(${PROJECT_NAME} INTERFACE nlohmann_json)
+5
View File
@@ -0,0 +1,5 @@
#pragma once
#include <nlohmann/json.hpp>
using json = nlohmann::json;