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 /c++/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 'c++/SConscript')
| -rw-r--r-- | c++/SConscript | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/c++/SConscript b/c++/SConscript index 857ca77..85a078f 100644 --- a/c++/SConscript +++ b/c++/SConscript @@ -15,14 +15,18 @@ core_env = env.Clone(); core_env.sources = sorted(glob.glob(dir_path + "/*.cpp")); core_env.headers = sorted(glob.glob(dir_path + "/*.hpp")); +core_env.particle_headers = sorted(glob.glob(dir_path + "/particle/*.hpp")); +core_env.particle_geometry_headers = sorted(glob.glob(dir_path + "/particle/geometry/*.hpp")); + env.sources += core_env.sources; env.headers += core_env.headers; - ## Static lib objects = [] core_env.add_source_files(objects, core_env.sources, shared=False); env.library_static = core_env.StaticLibrary('#build/kel-lbm', [objects]); env.Install('$prefix/lib/', env.library_static); -env.Install('$prefix/include/kel/lbm/', env.headers); +env.Install('$prefix/include/kel/lbm/', core_env.headers); +env.Install('$prefix/include/kel/lbm/particle/', core_env.particle_headers); +env.Install('$prefix/include/kel/lbm/particle/geometry/', core_env.particle_geometry_headers); |
