diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-07 15:17:04 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-07 15:17:04 +0100 |
| commit | ca8d14bf09d9f863b0b3246cd6805a4ea9e571af (patch) | |
| tree | 9e0ac018a048eb8e27aff74975a2d23d5ec8aa68 /cell_renderer/c++/SConscript | |
| parent | 136966aeac7ac000d5b0aadc689e40a61aa5efd5 (diff) | |
| download | apps-science_tools-ca8d14bf09d9f863b0b3246cd6805a4ea9e571af.tar.gz | |
Making repo clean for testing
Diffstat (limited to 'cell_renderer/c++/SConscript')
| -rw-r--r-- | cell_renderer/c++/SConscript | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cell_renderer/c++/SConscript b/cell_renderer/c++/SConscript new file mode 100644 index 0000000..bf3e778 --- /dev/null +++ b/cell_renderer/c++/SConscript @@ -0,0 +1,32 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +program_env = env.Clone(); + +program_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) +program_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) + +env.sources += program_env.sources; +env.headers += program_env.headers; + +## Static lib +objects_static = [] +program_env.add_source_files(objects_static, program_env.sources, shared=False); +env.binary = program_env.Program('#build/kel_rar', [objects_static]); + +# Set Alias +env.Alias('binary', [env.binary]); + +env.targets += ['binary']; + +# Install +env.Install('$prefix/bin/', [env.binary]); |
