gstreamer/plugins/elements/meson.build
Xavier Claessens b00b1d5361 Meson: Use library() to build both static and shared libs
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
2018-04-25 00:40:30 +01:00

36 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'),
)