2021-05-05 09:25:05 +00:00
|
|
|
populate_pkt_srcs()
|
2021-01-10 16:42:01 +00:00
|
|
|
add_executable(eco2d-server
|
2021-05-05 09:25:05 +00:00
|
|
|
source/main.c
|
|
|
|
source/network.c
|
|
|
|
source/game.c
|
|
|
|
source/utils/options.c
|
2021-01-10 16:42:01 +00:00
|
|
|
|
2021-05-05 09:25:05 +00:00
|
|
|
header/network.h
|
|
|
|
header/utils/options.h
|
|
|
|
|
|
|
|
${PKT_SRCS}
|
2021-01-10 16:42:01 +00:00
|
|
|
)
|
|
|
|
|
2021-05-04 17:39:50 +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)
|