mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Add premake solution generation for third party projects for now only
This commit is contained in:
34
thirdparty/libtommath.lua
vendored
Normal file
34
thirdparty/libtommath.lua
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
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
|
Reference in New Issue
Block a user