diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-07-18 19:07:53 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-07-18 19:07:53 +0200 |
commit | 14dbb72f6c6043b442c5a74299fbe55b9f199ca6 (patch) | |
tree | 09f1dbf37ab555c4be3a734af43ac860da027194 /modules/remote-filesystem/examples/SConscript | |
parent | f1223709e193c4513047293a1a42b55b9e8874b8 (diff) |
wip
Diffstat (limited to 'modules/remote-filesystem/examples/SConscript')
-rw-r--r-- | modules/remote-filesystem/examples/SConscript | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/remote-filesystem/examples/SConscript b/modules/remote-filesystem/examples/SConscript new file mode 100644 index 0000000..df8e0c6 --- /dev/null +++ b/modules/remote-filesystem/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 |