diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-01 13:29:47 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-01 13:29:47 +0200 |
| commit | ac2bc7ccecc202a152caf900debbf79cae8745a6 (patch) | |
| tree | cf2f4cefb488231c9d898a257af5c6e8d2a6a71a /examples/poiseulle_particles_channel_2d/SConscript | |
| parent | f53b62f995af1ad0e7cbc8aa3a7522d041eb9363 (diff) | |
| download | libs-lbm-ac2bc7ccecc202a152caf900debbf79cae8745a6.tar.gz | |
Dangling commit with lots of changes
Importantly it restructures the example I'm using the most and
it fixes a index access issue in the collision
Diffstat (limited to 'examples/poiseulle_particles_channel_2d/SConscript')
| -rw-r--r-- | examples/poiseulle_particles_channel_2d/SConscript | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/poiseulle_particles_channel_2d/SConscript b/examples/poiseulle_particles_channel_2d/SConscript new file mode 100644 index 0000000..f4f111a --- /dev/null +++ b/examples/poiseulle_particles_channel_2d/SConscript @@ -0,0 +1,32 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +examples_env = env.Clone(); + +examples_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) +examples_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) + +env.sources += examples_env.sources; +env.headers += examples_env.headers; + +# PoiseulleParticlesChannel2D +examples_objects = []; +examples_env.add_source_files(examples_objects, ['poiseulle_particles_channel_2d.cpp'], shared=False); +examples_env.example_bin = examples_env.Program('#bin/poiseulle_particles_channel_2d', [examples_objects]); + +# Set Alias +env.examples = [ + examples_env.example_bin +]; +env.Alias('examples', env.examples); +env.targets += ['examples']; +env.Install('$prefix/bin/', env.examples); |
