meson: drop config.h.meson template

This commit is contained in:
Tim-Philipp Müller 2018-05-01 12:08:54 +01:00
parent f1c3050f2c
commit c20e6d4453
2 changed files with 2 additions and 14 deletions

View file

@ -1,10 +0,0 @@
#mesondefine PACKAGE
#mesondefine VERSION
#mesondefine GST_PACKAGE_NAME
#mesondefine PACKAGE_NAME
#mesondefine GST_API_VERSION
#mesondefine PLUGINDIR
#mesondefine PY_LIB_LOC
#mesondefine PY_ABI_FLAGS
#mesondefine PY_LIB_SUFFIX
#mesondefine PYTHON_VERSION

View file

@ -1,6 +1,6 @@
project('gst-python', 'c', 'cpp', project('gst-python', 'c', 'cpp',
version : '1.15.0.1', version : '1.15.0.1',
meson_version : '>= 0.36.0', meson_version : '>= 0.40.0',
default_options : [ 'warning_level=1', default_options : [ 'warning_level=1',
'c_std=gnu99', 'c_std=gnu99',
'buildtype=debugoptimized' ]) 'buildtype=debugoptimized' ])
@ -74,9 +74,7 @@ cdata.set('PY_LIB_LOC', '"@0@"'.format(pylib_loc))
cdata.set('PY_ABI_FLAGS', '"@0@"'.format(python_abi_flags)) cdata.set('PY_ABI_FLAGS', '"@0@"'.format(python_abi_flags))
cdata.set('PY_LIB_SUFFIX', '"@0@"'.format(pylib_suffix)) cdata.set('PY_LIB_SUFFIX', '"@0@"'.format(pylib_suffix))
cdata.set('PYTHON_VERSION', '"@0@"'.format(python_dep.version())) cdata.set('PYTHON_VERSION', '"@0@"'.format(python_dep.version()))
configure_file(input : 'config.h.meson', configure_file(output : 'config.h', configuration : cdata)
output : 'config.h',
configuration : cdata)
configinc = include_directories('.') configinc = include_directories('.')
subdir('gi') subdir('gi')