mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
35 lines
615 B
Lua
35 lines
615 B
Lua
libtommath = {}
|
|
|
|
function libtommath:include()
|
|
includedirs {
|
|
path.join(ThirdPartyFolder(), "libtommath")
|
|
}
|
|
end
|
|
|
|
function libtommath:link()
|
|
self:include()
|
|
links {
|
|
"libtommath"
|
|
}
|
|
end
|
|
|
|
function libtommath:project()
|
|
local folder = ThirdPartyFolder();
|
|
|
|
project "libtommath"
|
|
targetdir(TargetDirectoryLib)
|
|
location "%{wks.location}/thirdparty"
|
|
kind "StaticLib"
|
|
language "C"
|
|
|
|
files {
|
|
path.join(folder, "libtommath/*.h"),
|
|
path.join(folder, "libtommath/*.c")
|
|
}
|
|
|
|
self:include()
|
|
|
|
-- Disable warnings. They do not have any value to us since it is not our code.
|
|
warnings "off"
|
|
end
|