meson: remove C++ support, there's no C++ code anymore

This commit is contained in:
George Kiagiadakis 2021-02-03 17:18:41 +02:00
parent 2142fffc0e
commit 36598aede4

View file

@ -1,11 +1,10 @@
project('wireplumber', ['c', 'cpp'], project('wireplumber', ['c'],
version : '0.3.50', version : '0.3.50',
license : 'MIT', license : 'MIT',
meson_version : '>= 0.54.0', meson_version : '>= 0.54.0',
default_options : [ default_options : [
'warning_level=1', 'warning_level=1',
'buildtype=debugoptimized', 'buildtype=debugoptimized',
'cpp_std=c++11',
] ]
) )
@ -82,9 +81,6 @@ common_flags = [
cc = meson.get_compiler('c') cc = meson.get_compiler('c')
add_project_arguments(cc.get_supported_arguments(common_flags), language: 'c') add_project_arguments(cc.get_supported_arguments(common_flags), language: 'c')
ccpp = meson.get_compiler('cpp')
add_project_arguments(ccpp.get_supported_arguments(common_flags), language: 'cpp')
have_audiofade = cc.compiles(''' have_audiofade = cc.compiles('''
#include <spa/utils/names.h> #include <spa/utils/names.h>
#ifndef SPA_NAME_CONTROL_AUDIO_FADE_SOURCE #ifndef SPA_NAME_CONTROL_AUDIO_FADE_SOURCE