eco2d/code/game/CMakeLists.txt

44 lines
747 B
CMake
Raw Normal View History

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-07-28 09:49:09 +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/compress.c
src/entity.c
src/entity_view.c
src/packet.c
src/player.c
2021-08-09 13:35:47 +00:00
src/vehicle.c
2021-07-28 09:49:09 +00:00
src/signal_handling.c
src/profiler.c
src/debug_ui.c
2021-05-05 09:25:05 +00:00
2021-07-28 09:49:09 +00:00
src/utils/options.c
2021-01-10 16:42:01 +00:00
2021-07-28 09:49:09 +00:00
src/network.h
2021-05-12 15:50:30 +00:00
2021-07-28 09:49:09 +00:00
src/world/blocks.c
src/world/perlin.c
src/world/world.c
2021-05-12 15:50:30 +00:00
2021-07-28 09:49:09 +00:00
src/gen/texgen.c
2021-05-12 17:38:11 +00:00
2021-07-28 09:49:09 +00:00
src/world/worldgen/worldgen_test.c
2021-05-12 15:50:30 +00:00
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-07-28 09:49:09 +00:00
include_directories(src ../modules ../../art/gen)
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)