blob: b26e595f359708fd4ed54bf8c6cb120e84ec1d2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/env python
Import("env")
def build_openvic_dataloader(env):
ovdl_env = SConscript("openvic-dataloader/SConstruct")
env.Append(LIBPATH=ovdl_env.openvic_dataloader["LIBPATH"])
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")
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
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)
build_ordered_map(env)
|