diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-05 09:44:04 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-05 09:44:04 +0100 |
| commit | c1d73cbe17650c834faee5a0098a9499b39a2835 (patch) | |
| tree | ac9c1180f5f8603dd887b7360597db8c53b6e99e /modules/io-ssh/examples/SConscript | |
| parent | 5c1d7018ba867a73c160cc044b939e35a2c07243 (diff) | |
| download | forstio-forstio-c1d73cbe17650c834faee5a0098a9499b39a2835.tar.gz | |
Dangling changes from the weekend. Added io/ssh setup
Diffstat (limited to 'modules/io-ssh/examples/SConscript')
| -rw-r--r-- | modules/io-ssh/examples/SConscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/io-ssh/examples/SConscript b/modules/io-ssh/examples/SConscript new file mode 100644 index 0000000..3afa8a7 --- /dev/null +++ b/modules/io-ssh/examples/SConscript @@ -0,0 +1,33 @@ +#!/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 = [] +#examples_env.tls_client = examples_env.Program('#bin/tls_client_https_keldu_de', ['tls_client.cpp', env.library_static]); +#examples_env.tls_echo_server = examples_env.Program('#bin/tls_echo_server', ['tls_echo_server.cpp', env.library_static]); + +# Set Alias +env.examples = [ +]; +env.Alias('examples', env.examples); + +if env["build_examples"]: + env.targets += ['examples']; + env.Install('$prefix/bin/', env.examples); +#endif |
