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