1compat_cflags = [] 2if cc.has_function('strsep') 3 compat_cflags += '-DHAVE_STRSEP' 4endif 5 6vmafossexec = executable( 7 'vmafossexec', 8 [src_dir + 'main.cpp', src_dir + 'read_frame.c'], 9 include_directories : libvmaf_inc, 10 dependencies: [stdatomic_dependency], 11 c_args : vmaf_cflags_common, 12 cpp_args : vmaf_cflags_common, 13 link_with : get_option('default_library') == 'both' ? libvmaf.get_static_lib() : libvmaf, 14 install : false, 15) 16 17vmaf = executable( 18 'vmaf', 19 ['vmaf.c', 'cli_parse.c', 'y4m_input.c', 'vidinput.c', 'yuv_input.c'], 20 include_directories : [libvmaf_inc, vmaf_include], 21 dependencies: [stdatomic_dependency], 22 c_args : [vmaf_cflags_common, compat_cflags], 23 link_with : get_option('default_library') == 'both' ? libvmaf.get_static_lib() : libvmaf, 24 install : true, 25) 26