Repo of the OpenVic-Dataloader Library for OpenVic
For detailed instructions, view the OpenVic Contributor Quickstart Guide here
- Pick a configure preset from
CMakePresets.json(windows-x64-md,windows-x64-mt,linux-x64,macos-universal). - Run
cmake --preset <preset>in the project root (dependencies are fetched automatically; no submodules needed). - Run
cmake --build --preset <preset>-debug(or<preset>-release). The static library, headless executable, and unit tests land inout/build/<preset>/bin/<Config>/. - Run the tests with
ctest --preset <preset>-debug.
The headless executable and tests are built by default in standalone builds; disable with -DOPENVIC_DL_BUILD_HEADLESS=OFF / -DOPENVIC_DL_BUILD_TESTS=OFF. Encoding compliance is selected with -DOPENVIC_DATALOADER_COMPLIANCE=<loose|error_replace|error>.
Use CMake: add_subdirectory(openvic-dataloader) and link against openvic::dataloader.