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

31 lines
606 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"}
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" }