John Colvin
a99f95853a
refactor: Abstract out argparse/file utils from buildspark.py
2022-02-04 17:41:29 -05:00
John Colvin
7d7ccc67e0
build: Fix typo in buildspark.py
...
* Replace literal '2022' w/ var 'year'
2022-02-04 17:41:29 -05:00
John Colvin
67dc07c4f5
build (client): Add cli opts to build cpp and/or csharp
2022-01-23 15:25:06 -05:00
John Colvin
40890f9ad2
build: Upgrade client build to vs 17 2022
...
If vs 17 2022 isn't installed, buildspark.py should still work for vs 16 2019
2022-01-23 13:17:46 -05:00
John Colvin
f0d86b92fb
build: Add target opt to build cmd
2021-12-29 13:18:46 -05:00
John Colvin
0c73900f57
build: Add --link-output-dir arg to buildspark.py
2021-12-21 11:50:54 -05:00
John Colvin
f66749ee25
buildspark.py exists with code 1 on exception
2021-12-21 11:50:54 -05:00
John Colvin
043a9ecb4a
Reword buildspark --output-dir help text
2021-12-21 11:50:54 -05:00
John Colvin
62bf1d069c
Fix build errors caused by big merge, externals upgrade
...
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
2021-12-09 11:40:42 -05:00
John Colvin
c37ce8fab9
build (client, style): Fix typo in clean opt help text
2021-11-20 14:50:55 -05:00
John Colvin
8cc72e6c96
build (style): Add comment abt paths wrapped in quotes
2021-11-20 14:50:55 -05:00
John Colvin
90ecb3c016
build (client): Add toggle opt to run msbuild /t:restore
2021-11-20 14:50:23 -05:00
John Colvin
b3db213b1a
build (client): Remove pygit2 dependency
2021-11-20 14:48:32 -05:00
John Colvin
e389770e55
build (client): Don't choke on symlinked build dir
2021-11-20 14:48:32 -05:00
John Colvin
4d19101d01
build (client): Configure build with abs path to source dir
2021-11-20 14:48:32 -05:00
John Colvin
88d0f425d2
build (client): Add '--no' toggle to flag opts in buildspark.py
2021-11-20 14:48:32 -05:00
John Colvin
5a205304bb
build (client): Fix build for non-default out dirs
...
Was building libspark and Spark.csproj separately, using msbuild for the
former and dotnet build for the latter
2021-11-20 14:48:07 -05:00
John Colvin
17642ca84b
build: Use dotnet build (instead of msbuild) for c# projects
...
Continue using msbuild for c++ (i.e., libspark)
2021-09-15 23:53:57 -04:00
John Colvin
939f44b48c
build: Refine build scripts so they work out of the box
...
* Automatically create python virtual envs
* Automatically actvate the vs dev prompt
Note: the python39 virtual env will remain active in the calling shell.
This behavior may be changed down the road.
2021-09-15 23:53:57 -04:00
John Colvin
48cd21aa46
build: Add option to cache branch builds
2021-09-06 18:34:27 -04:00
John Colvin
531fbb63be
build: Add buildspark.py (bc bat is a horrible language)
2021-09-06 18:27:32 -04:00