mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
aedi: add option to build with static moltenvk
this applies to gzdoom and raze targets only
This commit is contained in:
parent
efe513ec17
commit
c6dbfe5be5
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ class Builder(object):
|
||||||
else:
|
else:
|
||||||
state.output_path = state.root_path / 'output'
|
state.output_path = state.root_path / 'output'
|
||||||
|
|
||||||
|
state.static_moltenvk = arguments.static_moltenvk
|
||||||
state.jobs = arguments.jobs and arguments.jobs or \
|
state.jobs = arguments.jobs and arguments.jobs or \
|
||||||
subprocess.check_output(['sysctl', '-n', 'hw.ncpu']).decode('ascii').strip()
|
subprocess.check_output(['sysctl', '-n', 'hw.ncpu']).decode('ascii').strip()
|
||||||
|
|
||||||
|
@ -334,6 +335,7 @@ class Builder(object):
|
||||||
group.add_argument('--os-version-arm', metavar='version', help='macOS deployment version for ARM64')
|
group.add_argument('--os-version-arm', metavar='version', help='macOS deployment version for ARM64')
|
||||||
group.add_argument('--verbose', action='store_true', help='enable verbose build output')
|
group.add_argument('--verbose', action='store_true', help='enable verbose build output')
|
||||||
group.add_argument('--jobs', help='number of parallel compilation jobs')
|
group.add_argument('--jobs', help='number of parallel compilation jobs')
|
||||||
|
group.add_argument('--static-moltenvk', action='store_true', help='link with static MoltenVK library')
|
||||||
|
|
||||||
excl_group = parser.add_mutually_exclusive_group()
|
excl_group = parser.add_mutually_exclusive_group()
|
||||||
excl_group.add_argument('--disable-x64', action='store_true', help='disable x86_64 support')
|
excl_group.add_argument('--disable-x64', action='store_true', help='disable x86_64 support')
|
||||||
|
|
Loading…
Reference in a new issue