summaryrefslogtreecommitdiff
path: root/modules/remote-io/examples/SConscript
blob: df8e0c6e0ea6d10269607088df38b7f1cdb1b71a (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
27
28
29
30
31
32
#!/bin/false

import os
import os.path
import glob


Import('env')

dir_path = Dir('.').abspath

# Environment for base library
examples_env = env.Clone();

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

env.sources += examples_env.sources;
env.headers += examples_env.headers;

objects_static = []

# Set Alias
env.examples = [
#, examples_env.echo_server
];
env.Alias('examples', env.examples);

if env["build_examples"]:
	env.targets += ['examples'];
	env.Install('$prefix/bin/', env.examples);
#endif