Building OpenSSL is a pain. Especially for any platform besides Linux.
Let's fix that.
Download and extact an openssl release tarbar into the folder openssl_tarball. The file openssl_tarball/Makefile should exist. If it doesn't you did something wrong.
Use premake5 to generate the public openssl includes
premake openssl_headers-> include/openssl
Use premake5 to generate your project file:
Visual Studio 2010
premake5 vs2010 -> .build/projects/libssl.sln
premake5 gmake -> .build/projects/makefile
The example configurations generate static libraries in the lib/ folder
Advanced (using in your own solution)
I'm making the assumption that you're already using premake5 to generate your projects.
- Copy the OpenSSL module to your project (./modules/openssl)
- Include it via the
includedirective (see premake5.lua)
- Use the premake.extensions.openssl functions to handle project/header generation
This project is governed by the BSD 2-clause license. For details see the file titled LICENSE in the project root folder.
For OpenSSL see http://www.openssl.org/source/license.html.
Copyright (c) 2003-2014 Jason Perkins and individual contributors. All rights reserved.
Binaries are distributed under the BSD-3 clause license (see LICENSE_premake5).
See http://industriousone.com/premake for details.