simworld/server/CMakeLists.txt

11 lines
309 B
CMake
Raw 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)
add_executable(simworld-daemon ${SOURCES})
target_link_libraries(${PROJECT_NAME} PRIVATE libsimworld)