Repo of the OpenVic-Dataloader Library for OpenVic
For detailed instructions, view the OpenVic Contributor Quickstart Guide here
- Install scons for your system.
- Run the command
git submodule update --init --recursive
to retrieve all related submodules. - Run
scons build_ovdl_library=yes
in the project root, you should see a libopenvic-dataloader file inbin
.
- Call
ovdl_env = SConscript("openvic-dataloader/SConstruct")
- Use the values stored in the
ovdl_env.openvic_dataloader
to link and compile against:
Variable Name | Description | Correlated ENV variable |
---|---|---|
LIBPATH |
Library path list | env["LIBPATH"] |
LIBS |
Library files names in the library paths | env["LIBS"] |
INCPATH |
Library include files | env["CPPPATH"] |