cmake_minimum_required(VERSION 3.6)
project(smol)
add_executable(
    smol
    src/smol.c
)
target_link_libraries(smol ssl crypto)

add_executable(
    smol-pthreads
    src/smol-pthreads.c
)
target_link_libraries(smol-pthreads ssl crypto)

add_executable(
    smol-http
    src/smol-http.c
)

add_executable(
    smol-http-pthreads
    src/smol-http-pthreads.c
)

install(TARGETS smol smol-pthreads smol-http smol-http-pthreads DESTINATION bin)