mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-04-26 05:44:31 +00:00
fix make
This commit is contained in:
parent
3b9f3c29d0
commit
5d9e89ba20
@ -97,7 +97,7 @@ class BaseModule:
|
||||
|
||||
return 'make'
|
||||
|
||||
def makeTarget(self, target, cxxFlags=None):
|
||||
def makeTarget(self, target, cxxFlags=[]):
|
||||
command = [self.make()]
|
||||
return command + [target]
|
||||
|
||||
|
@ -15,7 +15,7 @@ class CMake(Make):
|
||||
def makePrefix(self):
|
||||
return "C"
|
||||
|
||||
def makeTarget(self, target, cxxFlags=None):
|
||||
def makeTarget(self, target, cxxFlags=[]):
|
||||
command = 'cmake --build cmake_build --config Release'
|
||||
|
||||
if len(target):
|
||||
@ -25,9 +25,7 @@ class CMake(Make):
|
||||
if cpus:
|
||||
command += ' --parallel ' + str(cpus)
|
||||
|
||||
cxx = []
|
||||
if cxxFlags is not None:
|
||||
cxx += cxxFlags
|
||||
cxx = cxxFlags
|
||||
|
||||
if self.isiOS(''):
|
||||
cxx += ['-allowProvisioningUpdates']
|
||||
|
@ -32,11 +32,12 @@ cmakeAndroid = CMake(BaseModule.P_Android)
|
||||
wasm = CMake(BaseModule.P_Wasm)
|
||||
docs = Docs(BaseModule.P_Linux)
|
||||
|
||||
iosBuilder = CMake(BaseModule.P_iOS)
|
||||
|
||||
repoGen = QIFRepogen()
|
||||
|
||||
release = Releaser()
|
||||
|
||||
iosBuilder = CMake(BaseModule.P_iOS)
|
||||
|
||||
bot.addBuilder("LinuxBuilder", qmakeLinux)
|
||||
bot.addBuilder("WindowsBuilder", qmakeWindows)
|
||||
|
Loading…
x
Reference in New Issue
Block a user