aboutsummaryrefslogtreecommitdiff
path: root/extension/deps/SCsub
diff options
context:
space:
mode:
author CptAlanSmith <123112708+CptAlanSmith@users.noreply.github.com>2023-09-24 12:05:36 +0200
committer GitHub <noreply@github.com>2023-09-24 12:05:36 +0200
commita579fa30b9faced48499028f32e3ae53d7eeb142 (patch)
treed1e99c1e2ea0765d7c721851b89b8c9ef0c90af8 /extension/deps/SCsub
parent0b4c30aa02c3ec1dacfc3ac190af4733531753ea (diff)
parentcc3ced120cdb83b144f9c19d338cb354d15442e8 (diff)
Merge pull request #158 from Spartan322/outsource/extras
Move actions and scripts to separate reusable repos
Diffstat (limited to 'extension/deps/SCsub')
-rw-r--r--extension/deps/SCsub12
1 files changed, 12 insertions, 0 deletions
diff --git a/extension/deps/SCsub b/extension/deps/SCsub
new file mode 100644
index 0000000..25a3286
--- /dev/null
+++ b/extension/deps/SCsub
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+Import("env")
+
+def build_openvic_simulation(env):
+ ovsim_env = SConscript("openvic-simulation/SConstruct")
+ env.Append(LIBPATH=ovsim_env.openvic_simulation["LIBPATH"])
+ env.Prepend(LIBS=ovsim_env.openvic_simulation["LIBS"])
+ env.Append(CPPPATH=ovsim_env.openvic_simulation["INCPATH"])
+ env.openvic_simulation = ovsim_env.openvic_simulation
+
+build_openvic_simulation(env) \ No newline at end of file