- mingw-32 (should work with Visual Studio, too)
- Git for Windows
- CMake for Windows
- win-flex-bison3 (3 is required as it supports C++ parser)
-
Install all requirements
-
Append path to mingw to PATH (Enviroment settings in Windows)
-
Rename win-bison and win-flex to bison and flex, respectively. This step is required in order to let CMake find flex / bison.
-
Run git clone / cmake as usual.
-
Use mingw32-make to make the project
-
Done
This file should be a part of win-flex-bison archive. Copy .h file to build directory and that's it.
See step 3.