mirror of
https://github.com/debauchee/barrier.git
synced 2025-08-03 00:29:28 +02:00
fixed: distftp needs to know mac sdk used
This commit is contained in:
parent
b385a459ad
commit
a37fc0896b
2 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,9 @@ class XcodeGenerator(Generator):
|
|||
super(XcodeGenerator, self).__init__('Xcode')
|
||||
|
||||
def getBinDir(self, target=''):
|
||||
if target == "":
|
||||
return super(XcodeGenerator, self).getBinDir(target)
|
||||
|
||||
xcodeTarget = target[0].upper() + target[1:]
|
||||
return super(XcodeGenerator, self).getBinDir(target) + '/' + xcodeTarget
|
||||
|
||||
|
|
|
@ -816,6 +816,10 @@ class InternalCommands:
|
|||
return major + '.' + minor + '.' + rev
|
||||
|
||||
def distftp(self, type, ftp):
|
||||
config = self.getConfig()
|
||||
if config.has_option("cmake", "mac_sdk"):
|
||||
self.macSdk = config.get("cmake", "mac_sdk")
|
||||
|
||||
if not type:
|
||||
raise Exception('Type not specified.')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue