From cc3ced120cdb83b144f9c19d338cb354d15442e8 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Sat, 23 Sep 2023 19:40:10 -0400 Subject: Move actions and scripts to separate reusable repos Add `extension/deps/SCsub` --- extension/deps/SCsub | 12 ++++++++++++ extension/deps/openvic-simulation | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 extension/deps/SCsub (limited to 'extension') 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 diff --git a/extension/deps/openvic-simulation b/extension/deps/openvic-simulation index 005a802..b0b6264 160000 --- a/extension/deps/openvic-simulation +++ b/extension/deps/openvic-simulation @@ -1 +1 @@ -Subproject commit 005a8026bb424779a146e00cc48621ff1d72b807 +Subproject commit b0b6264b83514be9f47f4e24b2e3bd8a02b33e90 -- cgit v1.2.3-56-ga3b1