[vlc-commits] [Git][videolan/vlc][master] meson: create vlc-cache-gen & plugins.dat
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Apr 21 08:11:21 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
b53cc653 by Ankit Meel at 2024-04-21T08:11:05+00:00
meson: create vlc-cache-gen & plugins.dat
- - - - -
1 changed file:
- bin/meson.build
Changes:
=====================================
bin/meson.build
=====================================
@@ -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
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b53cc653ea0287a61ce8284536c8f689dacbe4cd
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b53cc653ea0287a61ce8284536c8f689dacbe4cd
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list