aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
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