14 lines
341 B
CMake
14 lines
341 B
CMake
# 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)
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE simworld)
|
|
|
|
install(TARGETS ${PROJECT_NAME})
|