summaryrefslogtreecommitdiff
path: root/poc/web_swarm/orchestrator/c++/SConscript
blob: c4a7608b5aab8a924b451684433399dda74f8e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/false

import os
import os.path
import glob


Import('env')

dir_path = Dir('.').abspath

orch_env = env.Clone();

orch_env.sources = sorted(glob.glob(dir_path + "/*.cpp"));
orch_env.headers = sorted(glob.glob(dir_path + "/*.hpp"));

env.sources += orch_env.sources;
env.headers += orch_env.headers;

objects = []
orch_env.add_source_files(objects, orch_env.sources, shared=False);
env.orchestrator = orch_env.Program('#bin/kel_lbm_orchestrator', [objects]);

env.targets += [env.orchestrator];

env.Install('$prefix/bin/', env.orchestrator);