simworld/server/CMakeLists.txt

14 lines
341 B
CMake
Raw Permalink Normal View History

# server/CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(simworld-daemon VERSION 0.0.1 LANGUAGES C)
set(SOURCE_DIR ${CMAKE_SOURCE_DIR}/server/src)
file(GLOB_RECURSE SOURCES ${SOURCE_DIR}/*.c)
2024-10-04 05:05:43 +00:00
add_executable(${PROJECT_NAME} ${SOURCES})
2024-10-03 00:42:30 +00:00
target_link_libraries(${PROJECT_NAME} PRIVATE simworld)
install(TARGETS ${PROJECT_NAME})