Syncing latest changes between public/private.

This commit is contained in:
Eric Froemling 2020-02-10 11:37:20 -08:00
parent 2457c2dcce
commit 7ccd64e1bf
2 changed files with 26 additions and 0 deletions

View File

@ -974,6 +974,7 @@
<w>macpath</w>
<w>mailcap</w>
<w>mainmenu</w>
<w>makebob</w>
<w>makedeps</w>
<w>makedirs</w>
<w>makesetup</w>

View File

@ -826,5 +826,30 @@ def make_prefab() -> None:
run(f'make {target}')
def update_makebob() -> None:
"""Build fresh make_bob binaries for all relevant platforms."""
print('Building mac_x86_64...', flush=True)
env = dict(os.environ)
env['CMAKE_BUILD_TYPE'] = 'Release'
subprocess.run(['make', 'cmake-build'], check=True, env=env)
subprocess.run(
[
'cp', '-v', 'ballisticacore-cmake/build/release/make_bob',
'tools/make_bob/mac_x86_64/'
],
check=True,
)
print('Building linux_x86_64...', flush=True)
subprocess.run(['make', 'linux-build'], check=True, env=env)
subprocess.run(
[
'cp', '-v', 'build/linux-release/make_bob',
'tools/make_bob/linux_x86_64/'
],
check=True,
)
print('All builds complete!', flush=True)
if __name__ == '__main__':
snippets_main(globals())