aboutsummaryrefslogtreecommitdiff
path: root/deps/SCsub
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-01-01 04:32:01 +0100
committer GitHub <noreply@github.com>2024-01-01 04:32:01 +0100
commit9988b21278dc1c8df044631bd2935a7e450a7bff (patch)
treeba081f9f4d74865ab5851a2efd560745900ca81a /deps/SCsub
parent0a425fbe05d6138b753c0e4a7c06f06695bde8af (diff)
parente1496a87178d925277aceed0ebcbab06920e15ee (diff)
Merge pull request #105 from OpenVicProject/add/ordered-map
Diffstat (limited to 'deps/SCsub')
-rw-r--r--deps/SCsub11
1 files changed, 10 insertions, 1 deletions
diff --git a/deps/SCsub b/deps/SCsub
index 49755fc..b26e595 100644
--- a/deps/SCsub
+++ b/deps/SCsub
@@ -8,6 +8,7 @@ def build_openvic_dataloader(env):
env.Prepend(LIBS=ovdl_env.openvic_dataloader["LIBS"])
env.Append(CPPPATH=ovdl_env.openvic_dataloader["INCPATH"])
env.openvic_dataloader = ovdl_env.openvic_dataloader
+ env.exposed_includes += env.openvic_dataloader["INCPATH"]
def build_lexy_vdf(env):
lvdf_env = SConscript("lexy-vdf/SConstruct")
@@ -16,5 +17,13 @@ def build_lexy_vdf(env):
env.Append(CPPPATH=lvdf_env.lexy_vdf["INCPATH"])
env.lexy_vdf = lvdf_env.lexy_vdf
+def build_ordered_map(env):
+ include_path = "ordered-map/include"
+ env.ordered_map = {}
+ env.ordered_map["INCPATH"] = [env.Dir(include_path)]
+ env.Append(CPPPATH=env.ordered_map["INCPATH"])
+ env.exposed_includes += env.ordered_map["INCPATH"]
+
build_openvic_dataloader(env)
-build_lexy_vdf(env) \ No newline at end of file
+build_lexy_vdf(env)
+build_ordered_map(env) \ No newline at end of file