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.
17 lines
302 B
17 lines
302 B
8 years ago
|
project('custom target object output', 'c')
|
||
|
|
||
|
comp = find_program('obj_generator.py')
|
||
|
|
||
|
if host_machine.system() == 'windows'
|
||
|
outputname = '@BASENAME@.obj'
|
||
|
else
|
||
|
outputname = '@BASENAME@.o'
|
||
|
endif
|
||
|
|
||
|
cc = meson.get_compiler('c').cmd_array().get(-1)
|
||
|
|
||
|
subdir('objdir')
|
||
|
subdir('progdir')
|
||
|
|
||
|
test('objgen', e)
|