aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e063136..02e2d3a 100644
--- a/meson.build
+++ b/meson.build
@@ -165,3 +165,12 @@ executable('forts-clone', 'src/main.cpp',
dependencies: engine_deps,
cpp_args: extra_cpp_args,
)
+
+# Headless map soak test. The solver and the Lua loaders need no display, so
+# this can settle every map in the container and report whether the forts stand.
+executable('sim_check', 'tools/sim_check.cpp',
+ 'src/game/build_graph.cpp', 'src/game/data.cpp', 'src/engine/script.cpp',
+ include_directories: [engine_inc] + extra_inc,
+ dependencies: [lua_dep, glm_dep, sol2_dep],
+ cpp_args: extra_cpp_args,
+)