1 project('kms++', 'cpp',
8 cpp = meson.get_compiler('cpp')
11 if (cpp.get_id() == 'gcc' and
12 host_machine.cpu_family() == 'arm' and
13 cpp.has_argument('-Wno-psabi'))
19 if cpp.has_argument('-Wno-c99-designator')
21 '-Wno-c99-designator',
25 add_project_arguments(cpp_arguments, language : 'cpp')
29 if get_option('static-libc')
30 link_arguments += ['-static-libgcc', '-static-libstdc++']
33 add_global_link_arguments(link_arguments, language : 'cpp')
35 libfmt_dep = dependency('fmt')
37 libdrmomap_dep = dependency('libdrm_omap', required : get_option('omap'))
41 if get_option('libutils')
45 if get_option('utils')
51 if get_option('kmscube')