This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/contrib/curl/premake5.lua
Matthew Versluys 192aa8216b SSL Support on Mac
Utilizes Darwin SSL (rather than OpenSSL).
The configuration file that was built appears to be for Linux.
Had to remove the CURL_CA_BUNDLE for certificate lookup to work.
2015-10-24 13:53:04 -07:00

32 lines
692 B
Lua

project "curl-lib"
language "C"
kind "StaticLib"
includedirs {"include", "lib"}
defines {"BUILDING_LIBCURL", "CURL_STATICLIB", "HTTP_ONLY", "CURL_DISABLE_LDAP" }
flags { "StaticRuntime" }
location "build"
files
{
"**.h",
"**.c"
}
configuration { 'windows' }
defines {"WIN32"}
defines {"USE_SSL", "USE_SCHANNEL", "USE_WINDOWS_SSPI"}
configuration { 'linux' }
defines {"HAVE_CONFIG_H", "CURL_HIDDEN_SYMBOLS"}
configuration { 'macosx' }
defines { 'HAVE_CONFIG_H', 'USE_SSL', 'USE_DARWINSSL' }
configuration "Release"
defines {"NDEBUG"}
flags { "OptimizeSize" }
configuration "Debug"
defines {"_DEBUG"}
flags { "Symbols" }