t7x/deps/premake/asmjit.lua

37 lines
519 B
Lua
Raw Normal View History

2022-05-21 06:04:08 -04:00
asmjit = {
source = path.join(dependencies.basePath, "asmjit"),
}
function asmjit.import()
links { "asmjit" }
asmjit.includes()
end
function asmjit.includes()
includedirs {
path.join(asmjit.source, "src")
}
defines {
2022-06-16 13:44:47 -04:00
"ASMJIT_STATIC",
"ASMJIT_NO_AARCH64",
"ASMJIT_NO_FOREIGN",
2022-05-21 06:04:08 -04:00
}
end
function asmjit.project()
project "asmjit"
language "C++"
asmjit.includes()
files {
path.join(asmjit.source, "src/**.cpp"),
}
warnings "Off"
kind "StaticLib"
end
table.insert(dependencies, asmjit)