aboutsummaryrefslogtreecommitdiff
path: root/extension/deps/SCsub
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-29 00:28:12 +0200
committer Hop311 <hop3114@gmail.com>2023-09-29 00:28:12 +0200
commit90c90f2ece542c05df9e87cdf7398bbf54a87697 (patch)
tree288de15dd56bb54d0b75f3c3dc51d19c072e3a69 /extension/deps/SCsub
parenta53a1891c63cbf809c4fc5481238de6a8b12f8c1 (diff)
Scons rearrangement
Diffstat (limited to 'extension/deps/SCsub')
-rw-r--r--extension/deps/SCsub9
1 files changed, 8 insertions, 1 deletions
diff --git a/extension/deps/SCsub b/extension/deps/SCsub
index 25a3286..6a7a48d 100644
--- a/extension/deps/SCsub
+++ b/extension/deps/SCsub
@@ -9,4 +9,11 @@ def build_openvic_simulation(env):
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
+def build_gli(env):
+ gli_includes = ["gli", "gli/external"]
+ env.gli_loader = {}
+ env.gli_loader["INCPATH"] = [env.Dir(p) for p in gli_includes]
+ env.Append(CPPPATH=env.gli_loader["INCPATH"])
+
+build_openvic_simulation(env)
+build_gli(env)