From b101481315dec728b7c4fb466322ac861cd6dcf2 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 14 Aug 2024 17:18:08 +0200 Subject: wip --- modules/remote-filesystem/examples/SConscript | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/remote-filesystem/examples/SConscript') 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); -- cgit v1.2.3