Mercurial > dwib
changeset 385:1a16cecc576c
Win: Add information about building libxml2 on Windows, since I keep redoing it each year.
Also, other people trying to build DWIB themselves could probably use the tips.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Tue, 03 Jan 2023 14:10:30 -0600 |
parents | 75d23be9e6ac |
children | cd421821ee7f |
files | readme.txt |
diffstat | 1 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/readme.txt Mon Jan 02 17:09:21 2023 -0600 +++ b/readme.txt Tue Jan 03 14:10:30 2023 -0600 @@ -22,4 +22,15 @@ Third party software: -I have decided to use libxml2 to generate and load the XML. The reason for this choice is it is stable software written in C under a liberal MIT license. Additionally it is included on MacOS X, almost any Linux and any Unix with Gnome by default. It will likely only need to be included or statically linked on Windows and OS/2. \ No newline at end of file +I have decided to use libxml2 to generate and load the XML. The reason for this choice is it is stable software written in C under a liberal MIT license. Additionally it is included on MacOS, almost any Linux and any Unix with Gnome by default. It will likely only need to be included or statically linked on Windows and OS/2. + +Notes for building libxml2 on Windows, these are the commands I use from the win32 directory: +cscript configure.js compiler=msvc prefix=\Work\GitHub\libxml2 include=\Work\GitHub\libxml2\include lib=\Work\GitHub\libxml2\lib iconv=no cruntime=/MT dynruntime=no +nmake /f makefile.msvc /a +nmake /f makefile.msvc install +cd ..\lib +mkdir %VSCMD_ARG_TGT_ARCH% +copy * %VSCMD_ARG_TGT_ARCH% + +set XML2INCDIR=\Work\GitHub\libxml2\include +set XML2LIBDIR=\Work\GitHub\libxml2\lib \ No newline at end of file