diff options
| author | 2025-11-14 22:13:45 -0600 | |
|---|---|---|
| committer | 2025-11-15 00:21:37 -0600 | |
| commit | 635b33df0f7d567626fab4f1acaa91e5609e92ca (patch) | |
| tree | 981e50865b73732a9ea34a4e35d8229be6db5489 /meson.build | |
| parent | initial commit (diff) | |
update some stuff
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 4e2d1b6..da4fe0e 100644 --- a/meson.build +++ b/meson.build @@ -5,8 +5,16 @@ c_comp = meson.get_compiler('c') conf_data = configuration_data() conf_data.set('HAS_ATTR_WUR', c_comp.has_function_attribute('warn_unused_result')) conf_data.set('HAS_ATTR_ALWAYS_INLINE', c_comp.has_function_attribute('always_inline')) +conf_data.set('HAS_ATTR_MALLOC', c_comp.has_function_attribute('malloc')) +conf_data.set('HAS_ATTR_FORMAT', c_comp.has_function_attribute('format')) +conf_data.set('HAS_RESTRICT', c_comp.has_type('int *restrict')) configure_file(input : 'config.h.in', output : 'config.h', configuration : conf_data) conf_include = include_directories('.') -executable('ptxmc', 'main.c', 'pipeline.c', include_directories : conf_include) +executable('ptxmc', + 'main.c', + 'pipeline.c', + 'connection.c', + include_directories : conf_include, + c_args : [ '-D_XOPEN_SOURCE=700' ]) |
