This build scripts are created for Powershell in Windows. Sources will be downloaded from original repository on https://github.com/openssl/openssl
Primarily this script was created for my BuildSystem wich is described here.
This scripts should work on other systems too.
Since this Version, there are only two major requirements to get this build working.
All other tools, wich are required for build, will be downloaded automatically and set
to PATH for building.
The download will only happen if Scripts wasn't able to find a local Version of this tools.
So it is still recommended to install it on your system.
If error will occur you can use Powershell ISE for debugging, or contact me.
Mandatory Requirements:
- Powershell Version >= 3.0
- Visual Studio 2012/2013/2015/2017
Recommended Requirements:
- Perl 2.7
Common Scripts will download a Portable Version of StrawberryPerl if not available - NASM
Common Scripts will download a Portable Version of NASM if not available - Git Common Scripts will download a Portable Version of Git if not available
For example, to build the Version 1.1.0e, execute the following command:
.\Make.ps1 -VisualStudio 2017 -Architecture x64 -Version 1.1.0e
Options (bold are mandatory):
- VisualStudio: 2012/2013/2015/2017
- Architectrue: x64/x86
- Version: Version of OpenSSL
- Static: $true/$false (default: $false)
- DebugBuild: $true/$false (default: $false)
- StaticRuntime: $true/$false (default: $false)
- DoPackage: $true/$false (default: $false) for creating zip of output
- AdditionalConfig: String to append on configure command (default: "")
The name of the output folder will be generated as follows:
openssl-$Version-$VisualStudioYear-$Architecture[_static][_debug][_MT]
Conditions for Postfixes:
- _static: will be set if -Static is enabled
- _debug: will be set if -DebugBuild is enabled
- _MT: will be set if -StaticRuntime is enabled