aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-04-22 21:06:58 +1200
committerArslaan Pathan <[email protected]>2026-04-22 21:06:58 +1200
commit289ca3be66a5731fdcd8e2901514ddbb113c5076 (patch)
tree6ec66f374e042a57bcfaa288d0aa444517488d45 /meson.build
parent76516edf2c8c6ba36c0abb48871b5e69e9930dd2 (diff)
downloadsaffron-289ca3be66a5731fdcd8e2901514ddbb113c5076.tar.xz
saffron-289ca3be66a5731fdcd8e2901514ddbb113c5076.zip
Make the layout work roughly, make boxes have a size, update test code to work with boxes
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 01f7716..c357bdd 100644
--- a/meson.build
+++ b/meson.build
@@ -16,11 +16,11 @@ sources = [
saffron_lib = static_library('saffron', sources, include_directories: inc, dependencies: deps)
test_deps = []
+
+# demonstrate how we can statically link SDL and saffron into an application easily
test_deps += dependency('sdl3', static: true)
test_deps += dependency('sdl3-ttf', static: true)
-
saffron_dep = declare_dependency(link_with: saffron_lib, include_directories: inc, dependencies: deps)
-
test_deps += saffron_dep
executable('saffron_test', 'tests/test_main.c', dependencies: test_deps)