By compiling the code into a .a file I can avoid meson's weird duplication of compiled .o files, cutting build times in half on average.
This commit is contained in:
parent
f0b04107ab
commit
13d1f54f09
2 changed files with 22 additions and 63 deletions
|
|
@ -66,57 +66,3 @@ sources = files(
|
|||
# root
|
||||
'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