bld.bat 493 B

123456789101112131415161718192021222324
  1. set NO_LEASH=1
  2. :: Finds stdint.h from msinttypes.
  3. set INCLUDE=%LIBRARY_INC%;%INCLUDE%
  4. :: Set the install path
  5. set KRB_INSTALL_DIR=%LIBRARY_PREFIX%
  6. :: Need this set or libs/Makefile fails
  7. set VISUALSTUDIOVERSION=%VS_MAJOR%0
  8. cd src
  9. :: Create Makefile for Windows.
  10. nmake -f Makefile.in prep-windows
  11. if errorlevel 1 exit 1
  12. :: Build the sources
  13. nmake NODEBUG=1
  14. if errorlevel 1 exit 1
  15. :: Copy headers, libs, executables.
  16. nmake install NODEBUG=1
  17. if errorlevel 1 exit 1