add_languages('objc', native: false, required: true) objcc = meson.get_compiler('objc') add_project_arguments(objcc.get_supported_arguments(warning_objc_args), language: 'objc') # Mac OS X Carbon support glib_have_carbon = objcc.compiles('''#include <Carbon/Carbon.h> ...
library', ) # `libass_dep` comes from subdir('libass') meson.override_dependency('libass', libass_dep) if default_library != 'static' and host_system != 'windows' warning( 'this build does not properly support symbol visibility and the resulting shared lib is not suitable for distribution...
Skip this test if the given executable is not found. ''' def wrapper(func): @functools.wraps(func) def wrapped(*args, **kwargs): if shutil.which(exename) is None: raise unittest.SkipTest(exename + ' not found') return func(*args, **kwargs) return wrapped return wrapper def skip...
if (not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29) and (not with_platform_windows or not with_shared_glapi)) pre_args += '-DUSE_ELF_TLS' ...
cc = meson.get_compiler('c') 13config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 14enable_modules = 'CONFIG_MODULES' in config_host 15enable_static = 'CONFIG_STATIC' in config_host 16 17# Allow both shared and static libraries unless --enable-static ...
libinput_lt_c=23 libinput_lt_r=0 libinput_lt_a=13 # convert to soname libinput_so_version = '@0@.@1@.@2@'.format((libinput_lt_c - libinput_lt_a), libinput_lt_a, libinput_lt_r) # Compiler setup cc = meson.get_compiler('c') ...
'c_std=gnu11', ], meson_version: '>= 0.47.2', ) nm_name = meson.project_name() nm_version = meson.project_version() version_array = nm_version.split('.') nm_major_version = version_array[0].to_int() nm_minor_version = version_array[1].to_int() ...
if not get_option('snappy').auto() or have_system snappy = cc.find_library('snappy', has_headers: ['snappy-c.h'], required: get_option('snappy'), static: enable_static) endif if snappy.found() and not cc.links(''' ...
fuzzing_engine = meson.get_compiler('cpp').find_library('Fuzzer', required : false) if fuzzing_engine.found() userspace_c_args += '-fsanitize-coverage=trace-pc-guard,trace-cmp' elif cc.has_argument('-fsanitize=fuzzer-no-link') ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...