From c7cfabd0a77b0dbcd09cd93a84b17ce5734c713a Mon Sep 17 00:00:00 2001
From: sethg C:\Tools\nuget install bison-win32 -Version 2.4.1.1 -OutputDirectory C:\Tools\bison
- Alternatively download Bison from https://sourceforge.net/projects/gnuwin32/files/bison/ (2.4.1 is used in this example)
+ Install the Bison Nuget package using the following command: C:\Tools\nuget install Bison -Version 3.7.4 -OutputDirectory C:\Tools\bison
+ Alternatively download Bison from https://sourceforge.net/projects/winflexbison/files/ (Bison 3.7.4 is used in this example)
and save to a folder e.g. C:\Tools\Bison
cd C:\swig -SET PATH=C:\Tools\CMake\CMake-win64.3.15.5\bin;C:\Tools\bison\bison-win32.2.4.1.1\tools\native\bin;%PATH% +SET PATH=C:\Tools\CMake\CMake-win64.3.15.5\bin;C:\Tools\bison\Bison.3.7.4\bin;%PATH% SET PCRE_ROOT=C:/Tools/pcre2 SET PCRE_PLATFORM=x64 cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="%CD:\=/%/install2" -DCMAKE_C_FLAGS="/DPCRE2_STATIC" ^