summaryrefslogtreecommitdiff
path: root/c++/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'c++/SConscript')
-rw-r--r--c++/SConscript18
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]);