From ac2bc7ccecc202a152caf900debbf79cae8745a6 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 1 Oct 2025 13:29:47 +0200 Subject: 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 --- c++/SConscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'c++/SConscript') 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); -- cgit v1.2.3