cmake_minimum_required(VERSION 3.15...4.0)

project(SimpleHttpServer VERSION 1.0
                         DESCRIPTION "A simple HTTP server written in C++"
                         LANGUAGES C)

add_library(
    httpserverlib
    STATIC
    src/httpserver.h
    src/httpserver.c
)

add_executable(
    httpserver
    app/main.c
        app/main.h
)

target_link_libraries(httpserver PUBLIC httpserverlib)
