mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
build script: add notion of unsupported architectures
This commit is contained in:
parent
700d5a4171
commit
27df9cc015
1 changed files with 4 additions and 0 deletions
4
build.py
4
build.py
|
@ -64,6 +64,7 @@ class BaseTarget:
|
|||
def __init__(self, name=None):
|
||||
self.name = name
|
||||
self.multi_platform = False
|
||||
self.unsupported_architectures = ()
|
||||
|
||||
def prepare_source(self, builder: 'Builder'):
|
||||
pass
|
||||
|
@ -1863,6 +1864,9 @@ class Builder(object):
|
|||
install_paths = []
|
||||
|
||||
for platform in self._platforms:
|
||||
if platform.architecture in base_target.unsupported_architectures:
|
||||
continue
|
||||
|
||||
self.platform = platform
|
||||
self.build_path = base_build_path + 'build_' + platform.architecture + os.sep
|
||||
|
||||
|
|
Loading…
Reference in a new issue