mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
35 lines
472 B
Lua
35 lines
472 B
Lua
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 {
|
|
"ASMJIT_STATIC"
|
|
}
|
|
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)
|