eco2d/code/game/CMakeLists.txt

39 lines
721 B
CMake
Raw Normal View History

2021-05-12 15:50:30 +00:00
file(GLOB PKT_SRCS ../game/header/packets/*.h ../game/source/packets/*.c)
2021-01-10 16:42:01 +00:00
2021-05-10 11:27:01 +00:00
add_executable(eco2d
source/platform_raylib.c
source/main.c
source/network.c
2021-05-12 15:50:30 +00:00
source/game.c
2021-05-05 10:14:52 +00:00
source/camera.c
2021-05-06 15:30:38 +00:00
source/world_view.c
source/prediction.c
2021-05-12 15:50:30 +00:00
source/assets.c
source/compress.c
source/entity.c
source/entity_view.c
source/packet.c
source/player.c
source/signal_handling.c
2021-05-05 09:25:05 +00:00
2021-05-10 11:27:01 +00:00
source/utils/options.c
2021-01-10 16:42:01 +00:00
2021-05-10 11:27:01 +00:00
header/network.h
2021-05-12 15:50:30 +00:00
source/world/blocks.c
source/world/perlin.c
source/world/world.c
source/world/worldgen/worldgen_test.c
2021-05-10 11:27:01 +00:00
${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-05-10 08:43:05 +00:00
include_directories(header ../modules)
2021-05-12 15:50:30 +00:00
target_link_libraries(eco2d raylib cwpack eco2d-modules flecs-bundle)
2021-01-19 09:44:43 +00:00
2021-05-10 11:27:01 +00:00
link_system_libs(eco2d)