mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
aedi: add initialize method to target class
it's called on all targets except selected one before prefix directory creation
This commit is contained in:
parent
9a909691aa
commit
24a2c520bd
2 changed files with 7 additions and 0 deletions
|
@ -72,6 +72,10 @@ class Builder(object):
|
|||
state.external_source = True
|
||||
self._detect_target()
|
||||
|
||||
for target in self._targets.values():
|
||||
if target != self._target:
|
||||
target.initialize(state)
|
||||
|
||||
del self._targets
|
||||
|
||||
if arguments.build_path:
|
||||
|
|
|
@ -48,6 +48,9 @@ class Target:
|
|||
def prepare_source(self, state: BuildState):
|
||||
pass
|
||||
|
||||
def initialize(self, state: BuildState):
|
||||
pass
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue