diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-13 14:12:49 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-13 14:12:49 +0100 |
| commit | e821d617802ebbfff756844e4d9720342fc78a4e (patch) | |
| tree | 1dcf33b84698b5074218e44ea491b77a9c23ee66 /poc/web_swarm/SConstruct | |
| parent | 0c0087ef9482634273ec1a23d3a915754f94926d (diff) | |
| download | libs-lbm-dev.tar.gz | |
Swarm POCdev
Diffstat (limited to 'poc/web_swarm/SConstruct')
| -rw-r--r-- | poc/web_swarm/SConstruct | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/poc/web_swarm/SConstruct b/poc/web_swarm/SConstruct index 0611b67..9d43609 100644 --- a/poc/web_swarm/SConstruct +++ b/poc/web_swarm/SConstruct @@ -43,23 +43,20 @@ env_vars.Add('prefix', validator=isAbsolutePath ) -env_vars.Add('build_examples', - help='If examples should be built', - default="true" -) - +# No forstio. The orchestrator is the one native binary here that does not use +# it: libdatachannel brings its own threads and event handling, and forstio has +# no WebSocket or WebRTC to contribute. env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], - CPPDEFINES=['SAW_UNIX'], + CPPDEFINES=[], CXXFLAGS=[ '-std=c++20', '-g', + '-O2', '-Wall', '-Wextra' ], LIBS=[ - 'forstio-core', - 'forstio-async', - 'forstio-io' + 'datachannel' ] ); env.__class__.add_source_files = add_kel_source_files @@ -71,11 +68,16 @@ env.sources = []; env.headers = []; env.targets = []; +env.check_script = File('#check.sh'); + Export('env') -SConscript('SConscript') +SConscript('orchestrator/c++/SConscript') +SConscript('worker_native/c++/SConscript') env.Alias('cdb', env.cdb); env.Alias('all', [env.targets]); env.Default('all'); +env.InstallAs('$prefix/bin/kel_lbm_web_swarm_check', env.check_script); + env.Alias('install', '$prefix') |
