diff options
author | Roberto Esteves <contact@robertoesteves.dev> | 2025-07-28 09:05:23 -0300 |
---|---|---|
committer | Roberto Esteves <contact@robertoesteves.dev> | 2025-07-28 09:05:23 -0300 |
commit | 72163dc50dde4e07d9d4a17e872a302190fab0bc (patch) | |
tree | 9e550af0a411fdfe2badac6b7c7edbb7a767d9f1 /meson.build |
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..69b23a7 --- /dev/null +++ b/meson.build @@ -0,0 +1,23 @@ +project( + 'ui', + 'c', + meson_version: '>= 1.3.0', + version: '0.1', + default_options: ['warning_level=3', 'c_std=c89'], +) + +compile_args = [] +if host_machine.system() == 'linux' + compile_args += ['-D_GNU_SOURCE'] +elif host_machine.system() == 'darwin' + compile_args += ['-D_DARWIN_C_SOURCE'] +elif host_machine.system() == 'windows' + compile_args += ['-D_WIN32_WINNT=0x0601'] +endif + +add_global_arguments(compile_args, language: ['c']) + +ui_include = include_directories('include') + +subdir('library') +subdir('uicc') |