19 lines
487 B
Meson
19 lines
487 B
Meson
project('blob-object-coff', 'c')
|
|
|
|
if meson.get_compiler('c').get_id() == 'msvc'
|
|
add_project_arguments(
|
|
# we must downcast a few things because COFF is 32-bit
|
|
'/IGNORE:4267',
|
|
language: 'c'
|
|
)
|
|
else
|
|
add_project_arguments(
|
|
'-Wno-pointer-arith',
|
|
'-Wno-sign-compare',
|
|
'-Wno-missing-braces',
|
|
'-fno-strict-aliasing',
|
|
language: 'c'
|
|
)
|
|
endif
|
|
|
|
make_coff_blob = executable('blob-object-coff', 'src/main.c', install: true) |