Repo of the OpenVic-Simulation 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 --recursiveto retrieve all related submodules. - Run
sconsin the project root, you should see a openvic-simulation.headless file inbin.
- Call
ovsim_env = SConscript("openvic-simulation/SConstruct") - Use the values stored in the
ovsim_env.openvic_simulationto 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"] |