mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
39 lines
620 B
Lua
39 lines
620 B
Lua
Crypto = {}
|
|
|
|
function Crypto:include()
|
|
includedirs {
|
|
path.join(ProjectFolder(), "Crypto")
|
|
}
|
|
end
|
|
|
|
function Crypto:link()
|
|
libtomcrypt:link()
|
|
libtommath:link()
|
|
salsa20:link()
|
|
links "Crypto"
|
|
end
|
|
|
|
function Crypto:use()
|
|
|
|
end
|
|
|
|
function Crypto:project()
|
|
local folder = ProjectFolder();
|
|
|
|
project "Crypto"
|
|
targetdir(TargetDirectoryLib)
|
|
location "%{wks.location}/src/%{prj.name}"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
|
|
files {
|
|
path.join(folder, "Crypto/**.h"),
|
|
path.join(folder, "Crypto/**.cpp")
|
|
}
|
|
|
|
self:include()
|
|
libtomcrypt:include()
|
|
libtommath:include()
|
|
salsa20:include()
|
|
end
|