aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--deps/SCsub10
m---------deps/lexy-vdf0
3 files changed, 12 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index cfed717..301d555 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,3 +4,6 @@
[submodule "scripts"]
path = scripts
url = https://github.com/OpenVicProject/scripts
+[submodule "deps/lexy-vdf"]
+ path = deps/lexy-vdf
+ url = https://github.com/OpenVicProject/lexy-vdf.git
diff --git a/deps/SCsub b/deps/SCsub
index 7c945e6..49755fc 100644
--- a/deps/SCsub
+++ b/deps/SCsub
@@ -9,4 +9,12 @@ def build_openvic_dataloader(env):
env.Append(CPPPATH=ovdl_env.openvic_dataloader["INCPATH"])
env.openvic_dataloader = ovdl_env.openvic_dataloader
-build_openvic_dataloader(env) \ No newline at end of file
+def build_lexy_vdf(env):
+ lvdf_env = SConscript("lexy-vdf/SConstruct")
+ env.Append(LIBPATH=lvdf_env.lexy_vdf["LIBPATH"])
+ env.Prepend(LIBS=lvdf_env.lexy_vdf["LIBS"])
+ env.Append(CPPPATH=lvdf_env.lexy_vdf["INCPATH"])
+ env.lexy_vdf = lvdf_env.lexy_vdf
+
+build_openvic_dataloader(env)
+build_lexy_vdf(env) \ No newline at end of file
diff --git a/deps/lexy-vdf b/deps/lexy-vdf
new file mode 160000
+Subproject 2bd61a3d9f9aeedda101fdaa6889d6761310bc8