summaryrefslogtreecommitdiff
path: root/modules/remote-io/examples
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-26 20:17:33 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-26 20:17:33 +0200
commita8854301d2fe3d09b41ca055a713500edcead000 (patch)
tree3c2701131dfbfca1a6a4707faa508aa114d7ad7e /modules/remote-io/examples
parent5152bb37e0a5ec533b55512ef93eecde5c1cae34 (diff)
Working on remote io tcp proxies and tls
Diffstat (limited to 'modules/remote-io/examples')
-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