Skip to content

How to Build and Use zaf

zplutor edited this page Feb 2, 2023 · 3 revisions

Build zaf

To build zaf, Visual Studio 2022 or newer is required. Open solution file zaf.sln and build the solution with proper configuraiton.

zaf is a static linked library, the build output locates in out directory, for example out\Debug\zaf.lib.

Use zaf

To use zaf in your project, you need to do the following steps:

  • Add zaf's src directory to header search paths.
  • Add zaf's output directory such as out\Debug to library search paths.
  • Add linker option /WHOLEARCHIVE:zaf. See here for how to add this option.
Clone this wiki locally