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/libzip/premake5.lua

30 lines
533 B
Lua

project "zip-lib"
language "C"
kind "StaticLib"
includedirs "include"
defines {"N_FSEEKO", "_CRT_SECURE_NO_DEPRECATE"}
flags { "StaticRuntime" }
files
{
"**.h",
"**.c"
}
configuration "linux"
defines {"HAVE_SSIZE_T_LIBZIP", "HAVE_CONFIG_H"}
configuration "windows"
defines {"_WINDOWS"}
configuration "macosx"
defines { 'HAVE_SSIZE_T_LIBZIP' }
configuration "Release"
defines {"NDEBUG"}
flags { "OptimizeSize" }
configuration "Debug"
defines {"_DEBUG"}
flags { "Symbols" }