internals:windows:libs:tidy
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
internals:windows:libs:tidy [2008/06/01 00:44] – created pajoye | internals:windows:libs:tidy [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | sad | + | ====== LibTidy for Windows, How to compile ====== |
+ | |||
+ | LibTidy is a library to clean or process HTML documents, well formed or not. | ||
+ | For more information, | ||
+ | |||
+ | |||
+ | ===== Available prebuilt libraries ===== | ||
+ | |||
+ | All prebuilt libraries are available in the php-libs [[http:// | ||
+ | |||
+ | The filename format is: | ||
+ | |||
+ | libtidy-x.y.z-vcversion-architecture.zip | ||
+ | |||
+ | where x.y.z defines the version, vcversion which Visual C++ has been used and architecture defines whether the build is for win32 or win64. | ||
+ | |||
+ | For PHP suitable sources and up-to-date information see [[https:// | ||
+ | |||
+ | ===== Building LibTidy ===== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Requirements ===== | ||
+ | * tidy sources (2008/ | ||
+ | * Common tools used to compile PHP | ||
+ | |||
+ | ==== Preparing the sources ===== | ||
+ | |||
+ | Simply uncompress the sources archives. | ||
+ | |||
+ | |||
+ | ==== Configuration ===== | ||
+ | |||
+ | No special configuration required. Be sure to have the platform SDK in your path. | ||
+ | |||
+ | |||
+ | ==== Compilation ===== | ||
+ | |||
+ | === Release ==== | ||
+ | |||
+ | The following command: | ||
+ | |||
+ | <code bash> | ||
+ | cd tidy\build\msvc | ||
+ | nmake /f makeLIB.vc | ||
+ | </ | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | cd tidy\build\msvc | ||
+ | nmake /f makeDLL.vc | ||
+ | </ | ||
+ | |||
+ | Debug mode: | ||
+ | <code bash> | ||
+ | cd tidy\build\msvc | ||
+ | nmake /f makeLIB.vc DEBUG=1 | ||
+ | </ | ||
+ |
internals/windows/libs/tidy.1212281098.txt.gz · Last modified: 2017/09/22 13:28 (external edit)