mutter/cogl/tests/meson.build
Marco Trevisan (Treviño) 9305b6d8ee cogl/tests: Remove configure_file workaround for installed tests
Since starting meson 0.50 `install: false` is honored when the install_dir is
set to a non-empty value, we can now remove the workaround we added in commit
dbe73c329

https://gitlab.gnome.org/GNOME/mutter/merge_requests/585
2019-05-21 12:36:15 -05:00

21 lines
564 B
Meson

cogl_run_tests = find_program('run-tests.sh')
cdata = configuration_data()
cdata.set('HAVE_GL', have_gl.to_int())
cdata.set('HAVE_GLES2', have_gles2.to_int())
cogl_installed_tests_libexecdir = join_paths(
mutter_installed_tests_libexecdir, 'cogl', 'conform')
install_data('run-tests.sh', install_dir: cogl_installed_tests_libexecdir)
cogl_config_env = configure_file(
input: 'config.env.in',
output: 'config.env',
configuration: cdata,
install: have_installed_tests,
install_dir: cogl_installed_tests_libexecdir,
)
subdir('conform')
subdir('unit')