Building Cyrus SASL on Windows
Prerequisites
- Visual Studio. We have tested Visual Studio 6 and Visual Studio 7 (.NET).
- The latest Platform SDK. We've tested November 2001.
- If you are building directly from CVS, you'll need the Cygwin Unix-compatibility
environment to create the _init.c files needed for dynamic
loading. Cygwin is not required for building from our tar
distribution.
Step by step
These directions assume that you've untarred the library or used CVS
and the sources are in C:\SASL.
preparing to build (cvs only!)
Start a cygwin shell and create the dynamic loading stubs:
% cd /cygdrive/c/sasl/plugins
% sh makeinit.sh
building using NMake
Open a "Windows 2000 build environment" from the SDK's Start Menu and
use "nmake /f NTMakefile" to build:
Targeting Windows 2000 and IE 5.0 RETAIL
C:\Program Files\Microsoft SDK> cd \sasl
C:\sasl> cd lib
C:\sasl\lib> nmake /f NTMakefile
...
C:\sasl\lib> cd ..\plugins
C:\sasl\plugins> nmake /f NTMakefile
To build a debug verison, use "nmake /f NTMakefile
CFG=Debug". For a production version, "nmake /f NTMakefile
CFG=Release".
testing
creating an MSI