diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-20 19:23:02 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-20 19:23:02 +0200 |
commit | 60fb118680cf773dd5db44a4930bab4b4c119deb (patch) | |
tree | a5cb1a1bf8104aca4ce93bfcd10a9139663204d5 /examples/SConscript | |
parent | f50bf98a4a39dfcfb5ad2690d0adaa851d3dc69a (diff) |
Moved file and added build description
Diffstat (limited to 'examples/SConscript')
-rw-r--r-- | examples/SConscript | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/SConscript b/examples/SConscript index c9d85cb..73adcf5 100644 --- a/examples/SConscript +++ b/examples/SConscript @@ -18,13 +18,21 @@ examples_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) env.sources += examples_env.sources; env.headers += examples_env.headers; +# Meta +examples_objects = []; +examples_env.add_source_files(examples_objects, ['meta_2d.cpp'], shared=False); +examples_env.meta_2d = examples_env.Program('#bin/meta_2d', [env.library_static, examples_objects]); + # Cavity2D examples_objects = []; examples_env.add_source_files(examples_objects, ['cavity_2d.cpp'], shared=False); examples_env.cavity_2d = examples_env.Program('#bin/cavity_2d', [env.library_static, examples_objects]); # Set Alias -env.examples = [examples_env.cavity_2d]; +env.examples = [ + examples_env.meta_2d, + examples_env.cavity_2d +]; env.Alias('examples', env.examples); if env["build_examples"]: |