Added CMake build support to Windows WSL (oops forgot part)

This commit is contained in:
Eric Froemling 2020-10-12 18:51:29 -07:00
parent bc880a645e
commit c7b3bd9c50

View File

@ -699,7 +699,8 @@ def update_cmake_prefab_lib() -> None:
raise CleanError(f'Invalid buildtype: {buildtype}')
if mode not in {'debug', 'release'}:
raise CleanError(f'Invalid mode: {mode}')
platform = batools.build.get_current_prefab_platform()
platform = batools.build.get_current_prefab_platform(
wsl_gives_windows=False)
suffix = '_server' if buildtype == 'server' else ''
target = (f'build/prefab/lib/{platform}{suffix}/{mode}/'
f'libballisticacore_internal.a')