diff options
Diffstat (limited to 'test cases/common/165 dolphin option/meson.build')
-rw-r--r-- | test cases/common/165 dolphin option/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test cases/common/165 dolphin option/meson.build b/test cases/common/165 dolphin option/meson.build new file mode 100644 index 0000000..40cd4d5 --- /dev/null +++ b/test cases/common/165 dolphin option/meson.build @@ -0,0 +1,19 @@ +project('dolphin option', 'c') + +x264_dep = dependency('x264', options : ['video', 'patented']) + +exe = executable('encprog', 'encprog.c', + dependencies : x264_dep) +test('enc test', exe) + +gs = custom_target('somec', + input : 'proggie.c.in', + output : 'proggie.c', + command : [exe, '@INPUT@', '@OUTPUT@'], + ) + +test('Generated test', executable('proggie', gs)) + +if not meson.is_cross_build() and find_program('pkg-config', required:false).found() + subdir('deplookups') +endif |