From a5c579d1419f2a1e313268faa696b879cea31252 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Tue, 26 Sep 2023 16:34:32 -0400 Subject: Add lexy-vdf submodule --- .gitmodules | 3 +++ deps/SCsub | 10 +++++++++- deps/lexy-vdf | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) create mode 160000 deps/lexy-vdf 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 index 0000000..2bd61a3 --- /dev/null +++ b/deps/lexy-vdf @@ -0,0 +1 @@ +Subproject commit 2bd61a3d9f9aeedda101fdaa6889d6761310bc8f -- cgit v1.2.3-56-ga3b1