Files
qotd/server/CMakeLists.txt
legonzaur bf7020f791
CMake / build (push) Failing after 4s
first version of client
2025-02-28 12:34:45 +01:00

12 lines
261 B
CMake

cmake_minimum_required(VERSION 3.19)
project(qotd C)
message("STATIC_BUILD=${STATIC_BUILD}")
set(CMAKE_C_STANDARD 99)
add_executable(qotd main.c quote.c quote.h server.c server.h config.h)
if ( STATIC_BUILD )
target_link_libraries(qotd -static)
endif()