aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-10-02 22:33:44 +1300
committerArslaan Pathan <[email protected]>2026-10-02 22:33:44 +1300
commit4c892d337bd43b78fd89dd606341856223ad93d7 (patch)
tree0ad3dea2447bcca082173171d407ea3860e309a4 /meson.build
parentba9deab178f68f905cb63d50de2c64641362607d (diff)
downloadParadox-4c892d337bd43b78fd89dd606341856223ad93d7.tar.xz
Paradox-4c892d337bd43b78fd89dd606341856223ad93d7.zip
Debug functions/receivers behind debug_features option
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 09e4649..b7c5809 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,11 @@
-project('paradox', 'objc', version: '0.0.1')
+project('paradox', 'objc', version: '0.0.1', meson_version: '>=1.1.0')
add_project_arguments('-Wno-objc-root-class', '-Werror', '-pedantic', '-Wall', '-fobjc-runtime=gnustep-2.0', language: 'objc')
+if get_option('debug_features')
+ add_project_arguments('-DPARADOX_DEBUG_FEATURES', language: 'objc')
+endif
+
deps = []
deps += dependency('libobjc') # This is libobjc2, not libobjc - do not be fooled