Update cce.py (#35469)

* Update cce.py

adding c++17 flag for cce

* Update cce.py
This commit is contained in:
luker 2023-02-14 01:37:34 -06:00 committed by GitHub
parent 54f783e656
commit 9b3c4e0696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,11 @@ def cxx14_flag(self):
return "-std=c++14" return "-std=c++14"
return "-h std=c++14" return "-h std=c++14"
@property
def cxx17_flag(self):
if self.is_clang_based:
return "-std=c++17"
@property @property
def c99_flag(self): def c99_flag(self):
if self.is_clang_based: if self.is_clang_based: