Commit 36598aed authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

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

parent 2142fffc
Pipeline #265572 passed with stages
in 1 minute and 40 seconds
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 = [ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment