eco2d/code/apps/server/CMakeLists.txt

23 lines
540 B
CMake
Raw Normal View History

2021-01-19 10:43:56 +00:00
add_subdirectory(modules)
2021-01-19 10:19:12 +00:00
2021-01-10 16:42:01 +00:00
add_executable(eco2d-server
source/main.c
source/network.c
source/utils/options.c
source/world/perlin.c
source/world/world.c
source/world/blocks.c
2021-01-10 16:42:01 +00:00
header/network.h
header/utils/options.h
header/world/perlin.h
header/world/world.h
header/world/blocks.h
header/world/blocks_info.h
2021-01-10 16:42:01 +00:00
)
2021-01-19 10:47:54 +00:00
include_directories(header modules)
2021-05-04 00:01:31 +00:00
target_compile_definitions(eco2d-server PRIVATE SERVER)
2021-01-19 10:43:56 +00:00
target_link_libraries(eco2d-server eco2d-common eco2d-modules flecs-bundle cwpack)
2021-01-19 09:44:43 +00:00
link_system_libs(eco2d-server)