The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
170 B
8 lines
170 B
12 years ago
|
project('endian check', 'c')
|
||
|
|
||
10 years ago
|
if host_machine.endian() == 'big'
|
||
10 years ago
|
add_global_arguments('-DIS_BE', language : 'c')
|
||
12 years ago
|
endif
|
||
|
|
||
12 years ago
|
test('endiantest', executable('prog', 'prog.c'))
|