mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-04 09:19:38 +00:00
disable default contrictor for argument because python use the static object.
This commit is contained in:
parent
28ee64dd92
commit
feed1b305f
BuildBotLib
@ -97,7 +97,7 @@ class BaseModule:
|
|||||||
|
|
||||||
return 'make'
|
return 'make'
|
||||||
|
|
||||||
def makeTarget(self, target, cxxFlags=[]):
|
def makeTarget(self, target, cxxFlags=None):
|
||||||
command = [self.make()]
|
command = [self.make()]
|
||||||
return command + [target]
|
return command + [target]
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ class CMake(Make):
|
|||||||
def makePrefix(self):
|
def makePrefix(self):
|
||||||
return "C"
|
return "C"
|
||||||
|
|
||||||
def makeTarget(self, target, cxxFlags=[]):
|
def makeTarget(self, target, cxxFlags=None):
|
||||||
command = 'cmake --build cmake_build --config Release'
|
command = 'cmake --build cmake_build --config Release'
|
||||||
|
|
||||||
if len(target):
|
if len(target):
|
||||||
@ -25,7 +25,9 @@ class CMake(Make):
|
|||||||
if cpus:
|
if cpus:
|
||||||
command += ' --parallel ' + str(cpus)
|
command += ' --parallel ' + str(cpus)
|
||||||
|
|
||||||
cxx = cxxFlags
|
cxx = []
|
||||||
|
if cxxFlags is not None:
|
||||||
|
cxx += cxxFlags
|
||||||
|
|
||||||
if self.isiOS(''):
|
if self.isiOS(''):
|
||||||
cxx += ['-allowProvisioningUpdates']
|
cxx += ['-allowProvisioningUpdates']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user