adding C++98 to versions that meson can support
This commit is contained in:
parent
01ab4acf7f
commit
2fdfb50da8
|
@ -76,7 +76,7 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler):
|
||||||
|
|
||||||
def get_options(self):
|
def get_options(self):
|
||||||
return {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use',
|
return {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use',
|
||||||
['none', 'c++03', 'c++11', 'c++14', 'c++1z',
|
['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++1z',
|
||||||
'gnu++11', 'gnu++14', 'gnu++1z'],
|
'gnu++11', 'gnu++14', 'gnu++1z'],
|
||||||
'none')}
|
'none')}
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ class GnuCPPCompiler(GnuCompiler, CPPCompiler):
|
||||||
|
|
||||||
def get_options(self):
|
def get_options(self):
|
||||||
opts = {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use',
|
opts = {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use',
|
||||||
['none', 'c++03', 'c++11', 'c++14', 'c++1z',
|
['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++1z',
|
||||||
'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'],
|
'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'],
|
||||||
'none'),
|
'none'),
|
||||||
'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl',
|
'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl',
|
||||||
|
|
Loading…
Reference in New Issue