mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-02 23:17:26 +00:00
chore: drop third party lib for reading flac header
This commit is contained in:
1
thirdparty/flac
vendored
1
thirdparty/flac
vendored
Submodule thirdparty/flac deleted from 1b04fafb51
47
thirdparty/flac.lua
vendored
47
thirdparty/flac.lua
vendored
@@ -1,47 +0,0 @@
|
||||
flac = {}
|
||||
|
||||
function flac:include(includes)
|
||||
if includes:handle(self:name()) then
|
||||
includedirs {
|
||||
path.join(ThirdPartyFolder(), "flac")
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
function flac:link(links)
|
||||
links:add(self:name())
|
||||
end
|
||||
|
||||
function flac:use()
|
||||
|
||||
end
|
||||
|
||||
function flac:name()
|
||||
return "flac"
|
||||
end
|
||||
|
||||
function flac:project()
|
||||
local folder = ThirdPartyFolder()
|
||||
local includes = Includes:create()
|
||||
|
||||
project(self:name())
|
||||
targetdir(TargetDirectoryLib)
|
||||
location "%{wks.location}/thirdparty/%{prj.name}"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
|
||||
files {
|
||||
path.join(folder, "flac/foxen/*.h"),
|
||||
path.join(folder, "flac/foxen/*.c")
|
||||
}
|
||||
|
||||
defines {
|
||||
"_CRT_SECURE_NO_WARNINGS",
|
||||
"_CRT_NONSTDC_NO_DEPRECATE"
|
||||
}
|
||||
|
||||
self:include(includes)
|
||||
|
||||
-- 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