mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
b2f9808722
https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
49 lines
1.2 KiB
Meson
49 lines
1.2 KiB
Meson
gst_elements_sources = [
|
|
'gstcapsfilter.c',
|
|
'gstconcat.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',
|
|
]
|
|
|
|
if libtype != 'shared'
|
|
gst_elements_static = static_library('gstcoreelements',
|
|
gst_elements_sources,
|
|
c_args : gst_c_args + ['-DGST_PLUGIN_BUILD_STATIC'],
|
|
include_directories : [configinc],
|
|
dependencies : [gobject_dep, glib_dep, gst_dep, gst_base_dep],
|
|
install : true,
|
|
install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
|
|
)
|
|
gst_elements = gst_elements_static
|
|
endif
|
|
|
|
if libtype != 'static'
|
|
gst_elements_shared = shared_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 : '@0@/gstreamer-1.0'.format(get_option('libdir')),
|
|
)
|
|
gst_elements = gst_elements_shared
|
|
endif
|