Repo for the lexy-efx, a legacy EmotionFX file parser implemented using lexy, focusing primarily on XAC and XSM files for the purpose of loading Victoria 2 files.
See main.cpp
- Install scons for your system.
- Run the command
git submodule update --init --recursiveto retrieve all related submodules. - Run
scons build_lefx_library=yesin the project root, you should see a liblexy-efx file inbin.
- Call
lefx_env = SConscript("lexy-efx/SConstruct") - Use the values stored in the
lefx_env.lexy_vefxto 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"] |