diff options
author | sethg <sethg@geographika.co.uk> | 2022-01-28 15:13:49 +0100 |
---|---|---|
committer | Olly Betts <ojwbetts@gmail.com> | 2022-01-29 09:19:04 +1300 |
commit | c7cfabd0a77b0dbcd09cd93a84b17ce5734c713a (patch) | |
tree | 471dfa40ccab3a067034acd82a5455ee4156fa0e | |
parent | 97b4cccbbd5c94efcb94563f971dc114f662300b (diff) | |
download | swig-c7cfabd0a77b0dbcd09cd93a84b17ce5734c713a.tar.gz |
Update CMake build to use NuGet Bison3
-rw-r--r-- | Doc/Manual/Windows.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Manual/Windows.html b/Doc/Manual/Windows.html index 9bd45e032..7a39e88f3 100644 --- a/Doc/Manual/Windows.html +++ b/Doc/Manual/Windows.html @@ -243,8 +243,8 @@ For fully working build steps always check the Continuous Integration (CI) setup Alternatively you can download CMake from <a href="https://cmake.org/download/">https://cmake.org/download/</a>. </li> <li> - Install the <a href="https://www.nuget.org/packages/bison-win32/">Bison Nuget package</a> using the following command: <pre>C:\Tools\nuget install bison-win32 -Version 2.4.1.1 -OutputDirectory C:\Tools\bison</pre> - Alternatively download Bison from <a href="https://sourceforge.net/projects/gnuwin32/files/bison/">https://sourceforge.net/projects/gnuwin32/files/bison/</a> (2.4.1 is used in this example) + Install the <a href="https://www.nuget.org/packages/bison/">Bison Nuget package</a> using the following command: <pre>C:\Tools\nuget install Bison -Version 3.7.4 -OutputDirectory C:\Tools\bison</pre> + Alternatively download Bison from <a href="https://sourceforge.net/projects/winflexbison/files/">https://sourceforge.net/projects/winflexbison/files/</a> (Bison 3.7.4 is used in this example) and save to a folder e.g. <tt>C:\Tools\Bison</tt> </li> <li> @@ -273,7 +273,7 @@ cmake --build build --config Release --target install </p> <div class="shell"> <pre> 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" ^ |