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

30 lines
590 B
Lua

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