2021-07-28 09:49:09 +00:00
|
|
|
file(GLOB PKT_SRCS ../game/src/packets/*.h ../game/src/packets/*.c)
|
2021-01-10 16:42:01 +00:00
|
|
|
|
2021-05-10 11:27:01 +00:00
|
|
|
add_executable(eco2d
|
2021-08-29 10:48:29 +00:00
|
|
|
src/platform_raylib.c
|
|
|
|
src/main.c
|
|
|
|
|
|
|
|
src/network.c
|
|
|
|
src/game.c
|
|
|
|
src/camera.c
|
|
|
|
src/world_view.c
|
|
|
|
src/prediction.c
|
|
|
|
|
|
|
|
src/assets.c
|
|
|
|
src/items.c
|
|
|
|
src/compress.c
|
|
|
|
src/entity.c
|
|
|
|
src/entity_view.c
|
|
|
|
src/packet.c
|
|
|
|
src/player.c
|
|
|
|
src/vehicle.c
|
2022-08-09 14:46:23 +00:00
|
|
|
src/storage.c
|
2022-09-15 20:50:48 +00:00
|
|
|
src/device.c
|
2021-08-29 10:48:29 +00:00
|
|
|
src/signal_handling.c
|
|
|
|
src/profiler.c
|
|
|
|
src/debug_ui.c
|
|
|
|
src/debug_draw.c
|
|
|
|
|
|
|
|
src/utils/options.c
|
|
|
|
|
|
|
|
src/network.h
|
|
|
|
|
|
|
|
src/world/blocks.c
|
|
|
|
src/world/perlin.c
|
|
|
|
src/world/world.c
|
|
|
|
|
|
|
|
src/gen/texgen.c
|
|
|
|
|
|
|
|
src/world/worldgen/worldgen_test.c
|
|
|
|
|
|
|
|
${PKT_SRCS}
|
2021-01-11 20:08:16 +00:00
|
|
|
)
|
|
|
|
|
2021-05-10 11:27:01 +00:00
|
|
|
target_compile_definitions(eco2d PRIVATE CLIENT)
|
2021-07-28 09:49:09 +00:00
|
|
|
include_directories(src ../modules ../../art/gen)
|
2021-08-10 18:31:05 +00:00
|
|
|
target_link_libraries(eco2d raylib cwpack eco2d-modules flecs-bundle vendors-bundle)
|
2021-01-19 09:44:43 +00:00
|
|
|
|
2021-05-10 11:27:01 +00:00
|
|
|
link_system_libs(eco2d)
|