mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
Meson supports building both static and shared libraries in a single library() call. It has the advantage of reusing the same .o objects and thus avoid double compilation. https://bugzilla.gnome.org/show_bug.cgi?id=794627
35 lines
783 B
Meson
35 lines
783 B
Meson
gst_elements_sources = [
|
|
'gstcapsfilter.c',
|
|
'gstconcat.c',
|
|
'gstdataurisrc.c',
|
|
'gstdownloadbuffer.c',
|
|
'gstelements.c',
|
|
'gstelements_private.c',
|
|
'gstfakesink.c',
|
|
'gstfakesrc.c',
|
|
'gstfdsink.c',
|
|
'gstfdsrc.c',
|
|
'gstfilesrc.c',
|
|
'gstfilesink.c',
|
|
'gstfunnel.c',
|
|
'gstidentity.c',
|
|
'gstinputselector.c',
|
|
'gstmultiqueue.c',
|
|
'gstoutputselector.c',
|
|
'gstqueue2.c',
|
|
'gstqueue.c',
|
|
'gstsparsefile.c',
|
|
'gststreamiddemux.c',
|
|
'gsttee.c',
|
|
'gsttypefindelement.c',
|
|
'gstvalve.c',
|
|
]
|
|
|
|
gst_elements = library('gstcoreelements',
|
|
gst_elements_sources,
|
|
c_args : gst_c_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gobject_dep, glib_dep, gst_dep, gst_base_dep],
|
|
install : true,
|
|
install_dir : join_paths(get_option('libdir'), 'gstreamer-1.0'),
|
|
)
|