From c1d73cbe17650c834faee5a0098a9499b39a2835 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 5 Nov 2025 09:44:04 +0100 Subject: Dangling changes from the weekend. Added io/ssh setup --- modules/io-ssh/examples/SConscript | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 modules/io-ssh/examples/SConscript (limited to 'modules/io-ssh/examples/SConscript') 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 -- cgit v1.2.3