mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 06:49:28 -05:00
Add minilzo and minizip as dependencies
This commit is contained in:
35
thirdparty/minilzo.lua
vendored
Normal file
35
thirdparty/minilzo.lua
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
minilzo = {}
|
||||
|
||||
function minilzo:include()
|
||||
includedirs {
|
||||
path.join(ThirdPartyFolder(), "minilzo")
|
||||
}
|
||||
end
|
||||
|
||||
function minilzo:link()
|
||||
links "minilzo"
|
||||
end
|
||||
|
||||
function minilzo:use()
|
||||
|
||||
end
|
||||
|
||||
function minilzo:project()
|
||||
local folder = ThirdPartyFolder();
|
||||
|
||||
project "minilzo"
|
||||
targetdir(TargetDirectoryLib)
|
||||
location "%{wks.location}/thirdparty/%{prj.name}"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
|
||||
files {
|
||||
path.join(folder, "minilzo/*.h"),
|
||||
path.join(folder, "minilzo/*.c")
|
||||
}
|
||||
|
||||
self:include()
|
||||
|
||||
-- Disable warnings. They do not have any value to us since it is not our code.
|
||||
warnings "off"
|
||||
end
|
Reference in New Issue
Block a user