summaryrefslogtreecommitdiff
path: root/modules/remote-filesystem/examples/SConscript
diff options
context:
space:
mode:
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);