diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-04-22 18:08:14 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-04-22 18:08:14 +0200 |
commit | 2c8e2829dcf7c299d8f4121571722618f5ca59b3 (patch) | |
tree | cbca64fb6b51327487f7320c83867f8689d366df /forstio/core/SConscript | |
parent | c4033b8c2028efeb9bac236e6b279bdcd8efec34 (diff) |
Initial setup for monorepo
Diffstat (limited to 'forstio/core/SConscript')
-rw-r--r-- | forstio/core/SConscript | 7 |
1 files changed, 4 insertions, 3 deletions
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]); |