aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/135 custom target object output/meson.build
blob: ede165bd462280558252092c29bbb5bb7cc1b59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)