add a temporary Nag.cxx11_flag property
This commit is contained in:
parent
473a5542be
commit
ddcb97f953
@ -25,6 +25,11 @@ class Nag(Compiler):
|
|||||||
def openmp_flag(self):
|
def openmp_flag(self):
|
||||||
return "-openmp"
|
return "-openmp"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def cxx11_flag(self):
|
||||||
|
# NAG does not have a C++ compiler
|
||||||
|
# However, it can be mixed with a compiler that does support it
|
||||||
|
return "-std=c++11"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def default_version(self, comp):
|
def default_version(self, comp):
|
||||||
|
Loading…
Reference in New Issue
Block a user