Files
qotd/CMakeLists.txt
T
legonzaur bfd1f305e8
CMake / build (push) Failing after 35s
Add dockerfile
2025-02-28 11:15:37 +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()