Initial commit
This commit is contained in:
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
cmake_minimum_required(VERSION 3.15...4.0)
|
||||
|
||||
project(SimpleHttpServer VERSION 1.0
|
||||
DESCRIPTION "A simple HTTP server written in C++"
|
||||
LANGUAGES CXX)
|
||||
|
||||
|
||||
|
||||
add_library(
|
||||
httpserverlib
|
||||
STATIC
|
||||
src/server.hpp
|
||||
src/server.cpp
|
||||
)
|
||||
target_compile_features(httpserverlib PUBLIC cxx_std_23)
|
||||
|
||||
add_executable(
|
||||
httpserver
|
||||
app/main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(httpserver PUBLIC httpserverlib)
|
||||
Reference in New Issue
Block a user