diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-04 22:22:02 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-04 22:22:02 +0200 |
| commit | a31a302fb9fdf28b105eea55d98d2164dbeb7357 (patch) | |
| tree | 454bbdadaf23868c1d4a3ab16b06462104680eba /lib/png/c++ | |
| parent | 89b1992988569add71f3b2f858a38a001d141d3b (diff) | |
| parent | 275ded2ed5a5bdb92c78a801e40926fc000fb25b (diff) | |
| download | libs-lbm-a31a302fb9fdf28b105eea55d98d2164dbeb7357.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'lib/png/c++')
| -rw-r--r-- | lib/png/c++/SConscript | 27 | ||||
| -rw-r--r-- | lib/png/c++/png.cpp | 1 | ||||
| -rw-r--r-- | lib/png/c++/png.hpp | 7 |
3 files changed, 35 insertions, 0 deletions
diff --git a/lib/png/c++/SConscript b/lib/png/c++/SConscript new file mode 100644 index 0000000..75b8645 --- /dev/null +++ b/lib/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/lib/png/c++/png.cpp b/lib/png/c++/png.cpp new file mode 100644 index 0000000..248a8a5 --- /dev/null +++ b/lib/png/c++/png.cpp @@ -0,0 +1 @@ +#include "png.hpp" diff --git a/lib/png/c++/png.hpp b/lib/png/c++/png.hpp new file mode 100644 index 0000000..f675a99 --- /dev/null +++ b/lib/png/c++/png.hpp @@ -0,0 +1,7 @@ +#pragma once + +namespace kel { +namespace lbm { + +} +} |
