diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-06 01:37:34 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-06 01:37:34 +0200 |
| commit | af4b3f8f9bf7b19c169d9fbd0a2b49668af8ad10 (patch) | |
| tree | 3e98fff4bad333affa55e082de0da759bad57229 /modules/png/c++ | |
| parent | 52326efc80dfeae6e830527df2e7803ecf61b00a (diff) | |
| parent | 015e941a91552ce6ea4cde4507ec9451c3708e77 (diff) | |
| download | libs-lbm-af4b3f8f9bf7b19c169d9fbd0a2b49668af8ad10.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'modules/png/c++')
| -rw-r--r-- | modules/png/c++/SConscript | 27 | ||||
| -rw-r--r-- | modules/png/c++/png.cpp | 1 | ||||
| -rw-r--r-- | modules/png/c++/png.hpp | 7 |
3 files changed, 35 insertions, 0 deletions
diff --git a/modules/png/c++/SConscript b/modules/png/c++/SConscript new file mode 100644 index 0000000..75b8645 --- /dev/null +++ b/modules/png/c++/SConscript @@ -0,0 +1,27 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +png_env = env.Clone(); + +png_env.sources = sorted(glob.glob(dir_path + "/*.cpp")); +png_env.headers = sorted(glob.glob(dir_path + "/*.hpp")); + +env.sources += png_env.sources; +env.headers += png_env.headers; + +## Static lib +objects = [] +png_env.add_source_files(objects, png_env.sources, shared=False); +env.library_static = png_env.StaticLibrary('#build/kel-lbm-png', [objects]); + +env.Install('$prefix/lib/', env.library_static); +env.Install('$prefix/include/kel/lbm/png/', png_env.headers); diff --git a/modules/png/c++/png.cpp b/modules/png/c++/png.cpp new file mode 100644 index 0000000..248a8a5 --- /dev/null +++ b/modules/png/c++/png.cpp @@ -0,0 +1 @@ +#include "png.hpp" diff --git a/modules/png/c++/png.hpp b/modules/png/c++/png.hpp new file mode 100644 index 0000000..f675a99 --- /dev/null +++ b/modules/png/c++/png.hpp @@ -0,0 +1,7 @@ +#pragma once + +namespace kel { +namespace lbm { + +} +} |
