Changed from C# based system to own C++ implementation using crow.

This commit is contained in:
douwe
2025-08-06 00:22:27 +02:00
parent 6f03c84264
commit 66b3863388
109 changed files with 5905 additions and 1131 deletions

30
CMakeLists.txt Normal file
View File

@@ -0,0 +1,30 @@
# Specify the minimum required version of CMake
cmake_minimum_required(VERSION 3.10)
# Set the name of the project
project(douwco_web)
# Find required packages
find_package(Crow)
find_package(OpenSSL REQUIRED)
find_package(ZLIB REQUIRED)
# Set C++ standard to C++17
set(CMAKE_CXX_STANDARD 17)
# Add the executable
add_executable(douwco_web
src/main.cpp
src/server.cpp
)
# Specify include directories
target_include_directories(douwco_web PRIVATE
${PROJECT_SOURCE_DIR}/include
${OPENSSL_INCLUDE_DIR}
)
target_link_libraries(douwco_web PUBLIC
Crow::Crow
${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES}
)