From 4c892d337bd43b78fd89dd606341856223ad93d7 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Fri, 2 Oct 2026 22:33:44 +1300 Subject: Debug functions/receivers behind debug_features option --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meson.build') 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 -- cgit v1.2.3