A lot of server-side changes were just merged as part of the Brandon project (crypto). Many of those changes were in libspark (a lib on which both the client and server depend), and upgrades to its external dependencies. As a result, windows counterparts of several upgraded external libs needed to be similarly upgraded (or added for the first time). These libs include: boost, btree, catch, curl, fmt, nlohmann json, openssl, range, rxcpp, websocketpp This change also makes protobuf generation compatible with python3, and thus eliminates the build's dependency on python2
20 lines
479 B
Batchfile
20 lines
479 B
Batchfile
@echo off
|
|
|
|
if not exist %~dp0\..\.venv (
|
|
CALL :create_venv
|
|
)
|
|
|
|
touch %~dp0\..\src\lib\CMakeLists.txt
|
|
@call %~dp0\..\.venv\Scripts\activate.bat
|
|
@call python %~dp0\..\tools\buildspark.py %*
|
|
|
|
EXIT /B %ERRORLEVEL%
|
|
|
|
:create_venv
|
|
echo Creating python virtual environment
|
|
@call python -m venv %~dp0\..\.venv
|
|
@call %~dp0\..\.venv\Scripts\activate.bat
|
|
@call %~dp0\..\.venv\Scripts\pip install -r %~dp0\..\requirements.txt
|
|
@call deactivate
|
|
EXIT /B 0
|