2021-01-19 10:19:12 +00:00
|
|
|
file(GLOB COMPONENTS header/components/*.h source/components/*.c)
|
|
|
|
|
2021-01-10 16:42:01 +00:00
|
|
|
add_executable(eco2d-server
|
|
|
|
source/main.c
|
|
|
|
source/network.c
|
2021-01-17 07:03:06 +00:00
|
|
|
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
|
2021-01-17 23:09:29 +00:00
|
|
|
header/platform.h
|
2021-01-17 07:03:06 +00:00
|
|
|
header/utils/options.h
|
|
|
|
header/world/perlin.h
|
|
|
|
header/world/world.h
|
|
|
|
header/world/blocks.h
|
|
|
|
header/world/blocks_info.h
|
2021-01-18 12:16:38 +00:00
|
|
|
|
2021-01-19 10:19:12 +00:00
|
|
|
${COMPONENTS}
|
2021-01-10 16:42:01 +00:00
|
|
|
)
|
|
|
|
|
2021-01-11 13:47:14 +00:00
|
|
|
include_directories(eco2d-server header)
|
2021-01-19 09:44:43 +00:00
|
|
|
target_link_libraries(eco2d-server eco2d-common flecs-bundle cwpack)
|
|
|
|
link_system_libs(eco2d-server)
|