add c++20

This commit is contained in:
Artem Pavlenko 2021-03-03 11:13:42 +00:00
parent 11ff758c38
commit 6fedae386d

View file

@ -1219,7 +1219,7 @@ int main()
context.Result(ret) context.Result(ret)
return ret return ret
__cplusplus = {'14':'201402L', '17':'201703L'} __cplusplus = {'14':'201402L', '17':'201703L', '20':'202002L'}
def supports_cxx_std (context, silent=False): def supports_cxx_std (context, silent=False):
cplusplus_string = __cplusplus[env['CXX_STD']] cplusplus_string = __cplusplus[env['CXX_STD']]