Skip to content

OpenVicProject/lexy-vdf

Repository files navigation

lexy-vdf

Repo for the lexy-vdf, a VDF parser implemented using lexy

Example Usage

See main.cpp

Required

Build Instructions

  1. Install scons for your system.
  2. Run the command git submodule update --init --recursive to retrieve all related submodules.
  3. Run scons build_lvdf_library=yes in the project root, you should see a liblexy-vdf file in bin.

Link Instructions

  1. Call lvdf_env = SConscript("lexy-vdf/SConstruct")
  2. Use the values stored in the lvdf_env.lexy_vdf 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"]