]
dzn_flags = [ ]
+dzn_cpp_flags = [ ]
if with_platform_windows
dzn_flags += '-DVK_USE_PLATFORM_WIN32_KHR'
'-Werror=switch',
]
dzn_flags += cc.get_supported_arguments(dzn_flags_to_try)
+ dzn_cpp_flags = cpp.get_supported_arguments(['-Wno-error=unused-value'])
endif
libvulkan_dzn = shared_library(
],
dependencies : [dzn_deps, idep_vulkan_wsi],
c_args : dzn_flags,
+ cpp_args : dzn_cpp_flags,
gnu_symbol_visibility : 'hidden',
link_args : [ld_args_bsymbolic, ld_args_gc_sections],
name_prefix : host_machine.system() == 'windows' ? '' : 'lib',