First attempt at cutting down the amount of recompiles for the tools, but maybe I just have meson only build the tool when I run it?
This commit is contained in:
parent
56b4580466
commit
6710469ee1
2 changed files with 55 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ executable('zedcaster',
|
||||||
dependencies: dependencies)
|
dependencies: dependencies)
|
||||||
|
|
||||||
executable('arena',
|
executable('arena',
|
||||||
sources + [ 'tools/arena.cpp' ],
|
arena_sources + [ 'tools/arena.cpp' ],
|
||||||
cpp_args: cpp_args,
|
cpp_args: cpp_args,
|
||||||
link_args: link_args,
|
link_args: link_args,
|
||||||
include_directories: inc_dirs,
|
include_directories: inc_dirs,
|
||||||
|
|
|
||||||
|
|
@ -66,3 +66,57 @@ sources = files(
|
||||||
# root
|
# root
|
||||||
'dbc.cpp',
|
'dbc.cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
arena_sources = files(
|
||||||
|
# ai
|
||||||
|
'ai/ai.cpp',
|
||||||
|
'ai/ai_debug.cpp',
|
||||||
|
'ai/goap.cpp',
|
||||||
|
|
||||||
|
# combat
|
||||||
|
'combat/battle.cpp',
|
||||||
|
'combat/combat.cpp',
|
||||||
|
|
||||||
|
# boss fight mini game
|
||||||
|
'boss/fight.cpp',
|
||||||
|
'boss/system.cpp',
|
||||||
|
'boss/ui.cpp',
|
||||||
|
|
||||||
|
# gui
|
||||||
|
'gui/backend.cpp',
|
||||||
|
'gui/combat_ui.cpp',
|
||||||
|
'gui/debug_ui.cpp',
|
||||||
|
'gui/event_router.cpp',
|
||||||
|
'gui/guecstra.cpp',
|
||||||
|
|
||||||
|
# graphics
|
||||||
|
'graphics/animation.cpp',
|
||||||
|
'graphics/camera.cpp',
|
||||||
|
'graphics/easing.cpp',
|
||||||
|
'graphics/palette.cpp',
|
||||||
|
'graphics/scene.cpp',
|
||||||
|
'graphics/shaders.cpp',
|
||||||
|
'graphics/textures.cpp',
|
||||||
|
'graphics/lights.cpp',
|
||||||
|
|
||||||
|
# algos
|
||||||
|
'algos/matrix.cpp',
|
||||||
|
'algos/maze.cpp',
|
||||||
|
'algos/spatialmap.cpp',
|
||||||
|
'algos/rand.cpp',
|
||||||
|
'algos/pathing.cpp',
|
||||||
|
|
||||||
|
# game
|
||||||
|
'game/worldbuilder.cpp',
|
||||||
|
'game/map.cpp',
|
||||||
|
'game/level.cpp',
|
||||||
|
'game/inventory.cpp',
|
||||||
|
'game/sound.cpp',
|
||||||
|
'game/systems.cpp',
|
||||||
|
'game/components.cpp',
|
||||||
|
'game/config.cpp',
|
||||||
|
'game/rituals.cpp',
|
||||||
|
|
||||||
|
# root
|
||||||
|
'dbc.cpp',
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue