From 27f29aef2cf00735172c28d331536d0069b0f1f4 Mon Sep 17 00:00:00 2001
From: William S Fulton
Date: Tue, 2 Mar 2021 00:12:46 +0000
Subject: [PATCH] CMake documentation tweaks
---
Doc/Manual/Windows.html | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/Doc/Manual/Windows.html b/Doc/Manual/Windows.html
index 28413f1e5..5fdd5f5cb 100644
--- a/Doc/Manual/Windows.html
+++ b/Doc/Manual/Windows.html
@@ -36,7 +36,6 @@
Building swig.exe using CMake
Building swig.exe using MinGW and MSYS
Building swig.exe using Cygwin
-Building swig.exe alternatives
Running the examples on Windows using Cygwin
@@ -273,7 +272,8 @@ 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 PCRE_ROOT=C:\Tools\pcre\pcre.8.33.0.1\build\native
SET PCRE_PLATFORM=x64
-cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX="%CD:\=/%/install2" -DCMAKE_C_FLAGS="/DPCRE_STATIC" -DPCRE_INCLUDE_DIR=%PCRE_ROOT%/include -DPCRE_LIBRARY=%PCRE_ROOT%/lib/v110/%PCRE_PLATFORM%/Release/static/utf8/pcre8.lib .
+cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX="%CD:\=/%/install2" -DCMAKE_C_FLAGS="/DPCRE_STATIC" ^
+ -DPCRE_INCLUDE_DIR=%PCRE_ROOT%/include -DPCRE_LIBRARY=%PCRE_ROOT%/lib/v110/%PCRE_PLATFORM%/Release/static/utf8/pcre8.lib .
cmake --build . --config Release
REM to test the exe
@@ -290,10 +290,10 @@ swig.exe -help
A Visual Studio solution file should be generated named swig.sln. This can be opened and debugged by running the swig project and setting the
- Debugging Command Arguments. For example to step through one of the sample .i files included with the SWIG source use the following:
+ Debugging Command Arguments. For example to debug one of the test-suite .i files included with the SWIG source use the following:
-
-python -py3 -shadow -o C:\Temp\doxygen_parsing.c C:\swig\Examples\test-suite\doxygen_parsing.i
+
-python -c++ -o C:\Temp\doxygen_parsing.cpp C:\swig\Examples\test-suite\doxygen_parsing.i
@@ -425,14 +425,6 @@ Note that the Cygwin environment will also allow one to regenerate the autotool
These files are generated using the autogen.sh script and will only need regenerating in circumstances such as changing the build system.
-
-
-
-
-If you don't want to install Cygwin or MinGW, use a different compiler to build
-SWIG. For example, all the source code files can be added to a Visual C++ project
-file in order to build swig.exe from the Visual C++ IDE.
-