summaryrefslogtreecommitdiff
path: root/modules/remote-filesystem/examples/SConscript
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-14 17:18:08 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-14 17:18:08 +0200
commitb101481315dec728b7c4fb466322ac861cd6dcf2 (patch)
tree8387f26d7a226284f698d1c94b658ea697199db3 /modules/remote-filesystem/examples/SConscript
parentfb6cd9ca585c4194a5b88053f6861151919c02df (diff)
wip
Diffstat (limited to 'modules/remote-filesystem/examples/SConscript')
-rw-r--r--modules/remote-filesystem/examples/SConscript10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/remote-filesystem/examples/SConscript b/modules/remote-filesystem/examples/SConscript
index df8e0c6..3e039b7 100644
--- a/modules/remote-filesystem/examples/SConscript
+++ b/modules/remote-filesystem/examples/SConscript
@@ -18,11 +18,19 @@ examples_env.headers = sorted(glob.glob(dir_path + "/*.hpp"))
env.sources += examples_env.sources;
env.headers += examples_env.headers;
-objects_static = []
+examples_objects = [];
+examples_env.add_source_files(examples_objects, ['remote_write_file.cpp'], shared=False);
+examples_env.remote_file_write = examples_env.Program('#bin/remote_write_file', [env.library_static, examples_objects]);
+
+examples_objects = [];
+examples_env.add_source_files(examples_objects, ['remote_read_file.cpp'], shared=False);
+examples_env.remote_file_read = examples_env.Program('#bin/remote_read_file', [env.library_static, examples_objects]);
+
# Set Alias
env.examples = [
#, examples_env.echo_server
+ examples_env.remote_file_write
];
env.Alias('examples', env.examples);