diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-17 18:06:54 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-17 18:06:54 +0200 |
commit | d25750adaeec754fbad0e79a5570ed3b5dc02513 (patch) | |
tree | 23e96e5aa7de38c1df7fe6c5c02b6eb5cb7121c6 /c++/SConscript | |
parent | c6c35555cf18a871f9ba04982570cc77fdb60415 (diff) |
Moved examples and added some fun rendering
Diffstat (limited to 'c++/SConscript')
-rw-r--r-- | c++/SConscript | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/c++/SConscript b/c++/SConscript index 772d526..57091af 100644 --- a/c++/SConscript +++ b/c++/SConscript @@ -19,21 +19,7 @@ env.sources += core_env.sources; env.headers += core_env.headers; -## Shared lib +## Static lib objects = [] core_env.add_source_files(objects, core_env.sources, shared=False); - -core_env.examples = []; -# Cavity2D -core_env.cavity_2d_source = sorted(glob.glob(dir_path + "/examples/cavity_2d.cpp")); -env.sources += core_env.cavity_2d_source; -core_env.cavity_2d = core_env.Program('#bin/cavity_2d', [core_env.cavity_2d_source, core_env.objects]); -core_env.examples += core_env.cavity_2d; - -# Set Alias -env.Alias('examples', [core_env.examples]); - -env.targets += ['examples']; - -# Install -env.Install('$prefix/bin', [core_env.examples]); +env.library_static = core_env.StaticLibrary('#build/kel-lbm', [objects]); |