diff options
| author | Arslaan Pathan <[email protected]> | 2026-10-02 18:50:20 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-10-02 18:50:20 +1300 |
| commit | 68bc96f76ad2de4077bc2a9916f4facbefe5f739 (patch) | |
| tree | 3d10708a00701d743e2630f311368aa8b09be235 /meson.build | |
| parent | 94f81786312be03df47744d56951e092eb9af52f (diff) | |
| download | Paradox-68bc96f76ad2de4077bc2a9916f4facbefe5f739.tar.xz Paradox-68bc96f76ad2de4077bc2a9916f4facbefe5f739.zip | |
Build system setup and basic PXObject class implementation
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..aa9cc96 --- /dev/null +++ b/meson.build @@ -0,0 +1,23 @@ +project('paradox', 'objc', version: '0.0.1') + +add_project_arguments('-Wno-objc-root-class', '-Werror', '-pedantic', '-Wall', language: 'objc') + +deps = [] +deps += dependency('libobjc') # This is libobjc2, not libobjc - do not be fooled + +inc = include_directories('include') + +sources = [ + 'src/Object.m', +] + +paradox = static_library('paradox', sources, include_directories: inc, dependencies: deps, install: true, install_dir: 'lib') + +install_headers( + 'include/Paradox/Core.h', + 'include/Paradox/Object.h', + subdir: 'paradox' +) + +pkg = import('pkgconfig') +pkg.generate(paradox, subdirs: 'paradox', version: '0.0.1', name: 'paradox', filebase: 'paradox', description: 'Application framework for Objective-C built from first principles.', requires: ['libobjc']) |
