John Colvin
5543725ee2
Generate c++ protos w/ relative paths
...
We shouldn't be generating protos defined outside of the current CMakeLists.txt dir.
2024-10-30 19:35:05 +00:00
John Colvin
a451c3e880
refactor: Move config services to lib_system
...
The proto files are still in lib_spark, w/ the exception of
system_config.proto, since that is a dep of ConfigurationState.
2024-10-30 19:35:05 +00:00
John Colvin
e85f669534
refactor: Move threads.proto to lib_system
2024-10-30 19:31:41 +00:00
John Colvin
e064ab0433
build: Configure admin webapp build entirely in CMakeLists
...
Get rid of build_admin_web_app.py
2024-10-30 19:31:41 +00:00
John Colvin
36795bd851
cleanup (build): Move protobuf service generation cmake into lib_spark
...
Because lib_spark owns all the services
2024-10-30 19:31:41 +00:00
John Colvin
37322fccb1
build: Add cmake fns to symlink and install local libs
...
The code needed to do this (inline) is ugly and verbose
2024-10-30 19:31:40 +00:00
John Colvin
60bcbe67e4
cleanup: Trivial whitespace cleanup in Protobuf.cmake
2024-10-30 19:31:40 +00:00
John Colvin
c58a2f90e0
refactor: Organize libspark proj w/ stuttering include
...
This new structure provides several benefits:
* Allows us to install multiple CMake projects in the same destination
dir (without include path conflicts).
- This makes shipping the trading algo sdk a trivial excercise. Simply
copy the lib and include dirs from the install dest. That's it!
* Puts us in a position to break up the monolithic libspark into smaller
modules, which are easier to manage.
2024-10-30 19:31:40 +00:00
John Colvin
2b95507c49
build: Better organize CMakeLists per-platform/project
2023-06-21 11:07:46 -04:00
John Colvin
af0b7d9146
fix build: Set cmake policy CMP0076 before target_sources
...
* Removes warning when configuring build on Windows
* Moves 'vs_filters.cmake' to 'cmake' dir (w/ other cmake scripts)
2023-06-21 11:07:45 -04:00
John Colvin
4f772a1d57
build: Don't explicitly set GENERATED True for gen'd protos
...
CMake does this automatically now (as of version 3.20). Also, for some
reason unbeknownst to me, cmake doesn't clean the generated proto files
when they are explicitly marked as such.
2023-03-20 13:26:43 -04:00
John Colvin
c3d9443a89
build: Automate venv activation in server build
2022-09-21 00:14:38 -05:00
John Colvin
bbadbf8e16
build: Move .cmake files to cmake dir (from tools)
2022-06-03 10:42:32 -04:00