From 439c834367348fefee68b9cd982706417f03f47e Mon Sep 17 00:00:00 2001 From: Kevin Hendricks Date: Mon, 29 Jan 2024 11:03:16 -0500 Subject: [PATCH] remove outdated vcxproj files add basic build instructions --- ChangeLog.txt | 1 + README.md | 17 +++++- visualc/gumbo.vcxproj | 106 ---------------------------------- visualc/gumbo.vcxproj.filters | 99 ------------------------------- visualc/gumbo.vcxproj.user | 4 -- 5 files changed, 17 insertions(+), 210 deletions(-) delete mode 100644 visualc/gumbo.vcxproj delete mode 100644 visualc/gumbo.vcxproj.filters delete mode 100644 visualc/gumbo.vcxproj.user diff --git a/ChangeLog.txt b/ChangeLog.txt index eb92a71..3afccc3 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -2,6 +2,7 @@ List of Changes since the Fork ============================== In reverse chronological order: +- remove long outdated vcxproj files, support building with cmake and nmake only on Windows - change update foreign attributes to remove xml:base and add xlink:arcrole to follow whatwg spec - fixed minor memory leaks - correctly handle text in form elements diff --git a/README.md b/README.md index c1ba5df..0bcd769 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Original Goals & features: Installation ============ -To build and install the library, use CMake version 3.0 or later +To build and install the library on macOS and Linux/Unix, use CMake version 3.0 or later git clone https://github.com/Sigil-Ebook/sigil-gumbo.git mkdir build @@ -48,6 +48,21 @@ To build and install the library, use CMake version 3.0 or later make -j4 +To build the library on Windows, use CMake version 3.0 or later + + 1. clone the sigil gumbo repo + git clone https://github.com/Sigil-Ebook/sigil-gumbo.git + + 2. create a seprate build directory (do not build in the source directory itself) + mkdir build + cd build + + 3. Start the Visual Studio Command prompt for x64 + + 4. cmake -G "NMake Makefiles" ..\sigil-gumbo + nmake + + To run the html5lib tree-construction test suite from the build directory after building diff --git a/visualc/gumbo.vcxproj b/visualc/gumbo.vcxproj deleted file mode 100644 index ce9bcbf..0000000 --- a/visualc/gumbo.vcxproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {2661FA5E-ACC3-4D27-8FD2-9DBB0414EEDC} - gumbo - gumbo - - - - StaticLibrary - true - v120 - MultiByte - - - StaticLibrary - false - v120 - true - MultiByte - - - - - - - - - - - - - $(VC_IncludePath);$(WindowsSDK_IncludePath);./include - - - ./include;$(VC_IncludePath);$(WindowsSDK_IncludePath); - - - - Level3 - Disabled - false - false - - - true - - - - - Level3 - MaxSpeed - true - true - true - - - true - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/visualc/gumbo.vcxproj.filters b/visualc/gumbo.vcxproj.filters deleted file mode 100644 index cc2b1c4..0000000 --- a/visualc/gumbo.vcxproj.filters +++ /dev/null @@ -1,99 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - \ No newline at end of file diff --git a/visualc/gumbo.vcxproj.user b/visualc/gumbo.vcxproj.user deleted file mode 100644 index ef5ff2a..0000000 --- a/visualc/gumbo.vcxproj.user +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file