Skip to content
Snippets Groups Projects
Commit b53cc653 authored by Ankit Meel's avatar Ankit Meel Committed by Steve Lhomme
Browse files

meson: create vlc-cache-gen & plugins.dat

parent a4940344
No related branches found
No related tags found
1 merge request!5245meson: create vlc-cache-gen & plugins.dat
Pipeline #461786 passed with warnings with stage
in 19 minutes and 29 seconds
......@@ -39,4 +39,20 @@ if build_vlc and (host_system != 'darwin' or have_osx)
objc_args: [vlc_top_builddir_def, vlc_top_srcdir_def],
win_subsystem: 'windows'
)
vlc_cache_gen_dep = executable('vlc-cache-gen',
['cachegen.c'],
link_with: [vlc_libcompat, libvlc],
include_directories: [vlc_include_dirs],
)
plugins_dat = custom_target('plugins.dat',
# `vlc_cache_gen_dep.full_path()` doesn't work since the executable is not built yet.
# `vlc_cache_gen_dep` creates a build order dependency.
command: [vlc_cache_gen_dep, meson.global_build_root() / 'modules'],
# ninja command will be `ninja bin/plugins.dat`
output: 'plugins.dat',
build_by_default: true,
)
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment