1set INSTALL_DIR=%1
2
3rem Need to add ActivePerl to path
4set PATH=C:\Perl64\bin;%PATH%
5
6rem Build OpenSSL binary and libraries
7call perl Configure VC-WIN64A --prefix=%CD%\build || goto error
8call nmake || goto error
9call nmake install || goto error
10call xcopy /IE %CD%\build %INSTALL_DIR% || goto error
11
12goto :eof
13
14:error
15echo Failed with error %ERRORLEVEL%
16exit /B %ERRORLEVEL%
17