aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 02e2d3a..df9208e 100644
--- a/meson.build
+++ b/meson.build
@@ -174,3 +174,13 @@ executable('sim_check', 'tools/sim_check.cpp',
dependencies: [lua_dep, glm_dep, sol2_dep],
cpp_args: extra_cpp_args,
)
+
+# Device-on-strut-graph collapse test. Constructs a minimal fort, mounts a
+# device, cuts the supports, and asserts the device falls and is destroyed.
+# Pure graph test — no Lua data, no SDL.
+executable('device_collapse_test', 'tools/device_collapse_test.cpp',
+ 'src/game/build_graph.cpp',
+ include_directories: [engine_inc] + extra_inc,
+ dependencies: [glm_dep],
+ cpp_args: extra_cpp_args,
+)