[xslt] New build process for Windows/MSVC
- From: Igor Zlatkovic <igor stud fh-frankfurt de>
- To: <xslt gnome org>
- Subject: [xslt] New build process for Windows/MSVC
- Date: Thu, 21 Mar 2002 00:54:07 +0100
Hello everyone.
As promised, here it is. The package has five files:
* configure.js, a configuration script.
* Makefile.msvc, a makefile compatible with MS nmake.
* libxslt.def.src, an export definition source for libxslt.
* libexslt.def.src, an export definition source for libexslt.
All of these go directly into the win32 subdirectory. Beware, in win32, not
in win32/dsp. Wait... I said five files. These are four. Well, the fifth is
the updated readme which explains how to use the remaining four. Please,
have mercy, I am too tired now, I will supply the readme tomorrow :-)
I have tested it with the current CVS, it works okay.
To build libxslt using this, place all four files into the win32
subdirectory, go to the win32 subdirectory and issue a
cscript configure.js help
See what features you want enabled and run the configure script with the
apropriate options. If you leave the defaults in place, you'll get exactly
the configuration I use to build the binary distribution. Here is an
example:
cscript configure.js prefix=c:\home\igor
include=c:\home\igor\include lib=c:\home\igor\lib
This leaves the default configuration in place, states that I would like to
have everything installed in c:\home\igor, and adds an additional search
paths for the compiler and the linker, so it can find libxml. The script
responds by displaying the current configuration. Now you must build the
stuff by issuing a
nmake
This will compile the libraries and xsltproc. The fresh executables can then
be found in win32/binaries. You can now do a
nmake install
and all of what you just compiled will be installed in what you specified as
'prefix'.
If you cannot execute the configuration script, don't despair. It will still
work, but you must do the configuration manually. Check the Makefile.msvc,
it has clear comments about what should be modified. You must also manually
create xslt(win32)config.h, as well as exsltconfig.h
Now, go ahead, see if it works and bomb me with questions if something is
unclear.
Ciao
Igor
configure.js
libexslt.def.src
libxslt.def.src
Makefile.msvc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]