Debian Codegraph @

test cases/common/74 file object/meson.build

raw
1 project('file object', 'c')
2
3 prog0 = files('prog.c')
4 lib0 = files('lib.c')
5 test('fobj', executable('fobj', prog0, lib0))
6
7 subdir('subdir1')
8 subdir('subdir2')
9
10 # Use fs.as_posix() to ensure the results are the same across platforms.
11 fs = import('fs')
12 assert(fs.as_posix(prog0[0].full_path()) == fs.as_posix(meson.current_source_dir() / 'prog.c'))