Set languages in objc/ojbc++.
This commit is contained in:
parent
2c3d35802f
commit
e6e5566b6f
|
@ -127,6 +127,7 @@ class CXXCompiler(CCompiler):
|
|||
class ObjCCompiler(CCompiler):
|
||||
def __init__(self, exelist):
|
||||
CCompiler.__init__(self, exelist)
|
||||
self.language = 'objc'
|
||||
|
||||
def can_compile(self, filename):
|
||||
suffix = filename.split('.')[-1]
|
||||
|
@ -137,6 +138,7 @@ class ObjCCompiler(CCompiler):
|
|||
class ObjCXXCompiler(CXXCompiler):
|
||||
def __init__(self, exelist):
|
||||
CXXCompiler.__init__(self, exelist)
|
||||
self.language = 'objcxx'
|
||||
|
||||
def can_compile(self, filename):
|
||||
suffix = filename.split('.')[-1]
|
||||
|
|
Loading…
Reference in New Issue