eco2d/code/foundation/CMakeLists.txt

52 lines
1.1 KiB
CMake
Raw Normal View History

file(GLOB PKT_SRCS src/packets/*.h src/packets/*.c)
add_library(eco2d-foundation STATIC
src/core/game.c
src/core/camera.c
2022-09-28 05:29:32 +00:00
src/core/rules_default.c
src/platform/signal_handling.c
src/platform/profiler.c
2024-05-29 08:11:37 +00:00
src/platform/input.c
2024-05-29 08:11:37 +00:00
src/models/database.c
2022-09-29 18:11:47 +00:00
src/models/assets.c
2022-10-18 06:57:43 +00:00
src/models/components.c
2022-09-29 14:16:06 +00:00
src/models/items.c
src/models/entity.c
src/models/device.c
2022-10-18 06:57:43 +00:00
src/models/crafting.c
2022-09-29 14:05:07 +00:00
2022-09-29 14:16:06 +00:00
src/models/prefabs/player.c
src/models/prefabs/vehicle.c
src/pkt/packet.c
2022-10-15 11:48:05 +00:00
src/gen/texgen_fallback.c
2023-01-15 15:59:33 +00:00
src/dev/debug_ui.c
src/dev/debug_draw.c
src/utils/options.c
src/utils/compress.c
src/net/network_enet.c
src/world/blocks.c
src/world/perlin.c
src/world/world.c
src/world/world_view.c
src/world/entity_view.c
src/world/prediction.c
2022-09-29 14:16:06 +00:00
src/systems/systems.c
${PKT_SRCS}
)
target_compile_definitions(eco2d-foundation PRIVATE CLIENT)
include_directories(src ../modules ../../art/gen)
2023-01-31 22:51:39 +00:00
target_link_libraries(eco2d-foundation raylib raylib_nuklear cwpack flecs-bundle vendors-bundle)
link_system_libs(eco2d-foundation)