diff options
| author | Arslaan Pathan <[email protected]> | 2026-10-02 22:33:44 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-10-02 22:33:44 +1300 |
| commit | 4c892d337bd43b78fd89dd606341856223ad93d7 (patch) | |
| tree | 0ad3dea2447bcca082173171d407ea3860e309a4 /meson.build | |
| parent | ba9deab178f68f905cb63d50de2c64641362607d (diff) | |
| download | Paradox-4c892d337bd43b78fd89dd606341856223ad93d7.tar.xz Paradox-4c892d337bd43b78fd89dd606341856223ad93d7.zip | |
Debug functions/receivers behind debug_features option
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 6 |
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 |
