project('blob-object', 'c', default_options: ['c_std=c17', 'warning_level=3']) compiler = meson.get_compiler('c') if compiler.get_id() == 'clang' or compiler.get_id() == 'gcc' # MSVC does not support VLAs for us to disable them. add_global_arguments('-Werror=vla', language: 'c') endif if target_machine.system() == 'windows' add_global_arguments('-DUNICODE', '-D_CRT_SECURE_NO_WARNINGS', language: 'c') else # the ELF blob maker is not portable currently subproject('blob-object-elf') endif subproject('blob-object-coff')