diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-10-17 19:04:59 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-10-17 19:04:59 +0200 |
commit | 0d6300c7aec4f7a3f665b5db76aad9bf20fd55cf (patch) | |
tree | 73fb1a76d6816dd4e0bc5414c7adfd8a59364449 /modules/io-tls/SConscript | |
parent | 17e22f10026068990595941eeb503fc2adb476a8 (diff) |
Moved the tls example to modern variant
Diffstat (limited to 'modules/io-tls/SConscript')
-rw-r--r-- | modules/io-tls/SConscript | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/modules/io-tls/SConscript b/modules/io-tls/SConscript deleted file mode 100644 index f823103..0000000 --- a/modules/io-tls/SConscript +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/false - -import os -import os.path -import glob - - -Import('env') - -dir_path = Dir('.').abspath - -# Environment for base library -io_tls_env = env.Clone(); - -io_tls_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) -io_tls_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) - -env.sources += io_tls_env.sources; -env.headers += io_tls_env.headers; - -## Shared lib -objects_shared = [] -io_tls_env.add_source_files(objects_shared, io_tls_env.sources, shared=True); -io_tls_env.library_shared = io_tls_env.SharedLibrary('#build/forstio-io-tls', [objects_shared]); - -## Static lib -objects_static = [] -io_tls_env.add_source_files(objects_static, io_tls_env.sources, shared=False); -io_tls_env.library_static = io_tls_env.StaticLibrary('#build/forstio-io-tls', [objects_static]); - -# Set Alias -env.Alias('library_io_tls', [io_tls_env.library_shared, io_tls_env.library_static]); - -env.targets += ['library_io_tls']; - -# Install -env.Install('$prefix/lib/', [io_tls_env.library_shared, io_tls_env.library_static]); -env.Install('$prefix/include/forstio/io/tls/', [io_tls_env.headers]); |