gstreamer/gst/printf/meson.build
Nirbheek Chauhan b2f9808722 Add support for Meson as alternative/parallel build system
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.
2016-08-19 21:26:14 +01:00

24 lines
502 B
Meson

printf_sources = [
'asnprintf.c',
'printf-args.c',
'printf-parse.c',
'vasnprintf.c',
'printf.c',
'printf-extension.c',
]
printf_args = gst_c_args + [
# '-UHAVE_LONG_DOUBLE',
# '-UHAVE_LONG_LONG_FORMAT',
# ' -UHAVE_WCHAR_T',
# '-UHAVE_WCSLEN',
# '-UHAVE_WINT_T',
'-DSTATIC=G_GNUC_INTERNAL',
]
printf_lib = static_library('gstprintf',
printf_sources,
include_directories : [configinc],
c_args : printf_args + pic_args,
install : false,
dependencies : [glib_dep])