From 2c8e2829dcf7c299d8f4121571722618f5ca59b3 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Sat, 22 Apr 2023 18:08:14 +0200 Subject: Initial setup for monorepo --- forstio/core/SConscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'forstio/core/SConscript') diff --git a/forstio/core/SConscript b/forstio/core/SConscript index 184eed1..9bbc8dc 100644 --- a/forstio/core/SConscript +++ b/forstio/core/SConscript @@ -20,17 +20,18 @@ env.headers += core_env.headers; ## Shared lib objects_shared = [] -core_env.add_source_files(objects_shared, env.core_sources, shared=True); +core_env.add_source_files(objects_shared, core_env.sources, shared=True); core_env.library_shared = core_env.SharedLibrary('#build/forstio-core', [objects_shared]); ## Static lib objects_static = [] -core_env.add_source_files(objects_static, env.core_sources, shared=False); +core_env.add_source_files(objects_static, core_env.sources, shared=False); core_env.library_static = core_env.StaticLibrary('#build/forstio-core', [objects_static]); # Set Alias env.Alias('library_core', [core_env.library_shared, core_env.library_static]); -env.Alias('library', ['library_core']); + +env.targets += ['library_core']; # Install env.Install('$prefix/lib/', [core_env.library_shared, core_env.library_static]); -- cgit v1.2.3