summaryrefslogtreecommitdiff
path: root/modules/remote-io/examples/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-io/examples/SConscript')
-rw-r--r--modules/remote-io/examples/SConscript32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/remote-io/examples/SConscript b/modules/remote-io/examples/SConscript
new file mode 100644
index 0000000..df8e0c6
--- /dev/null
+++ b/modules/remote-io/examples/SConscript
@@ -0,0 +1,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