33 lines
470 B
Lua
33 lines
470 B
Lua
|
mongoose = {
|
||
|
source = path.join(dependencies.basePath, "mongoose"),
|
||
|
}
|
||
|
|
||
|
function mongoose.import()
|
||
|
links {"mongoose"}
|
||
|
|
||
|
mongoose.includes()
|
||
|
end
|
||
|
|
||
|
function mongoose.includes()
|
||
|
includedirs {mongoose.source}
|
||
|
end
|
||
|
|
||
|
function mongoose.project()
|
||
|
project "mongoose"
|
||
|
language "C"
|
||
|
|
||
|
mongoose.includes()
|
||
|
|
||
|
files
|
||
|
{
|
||
|
path.join(mongoose.source, "*.c"),
|
||
|
path.join(mongoose.source, "*.h"),
|
||
|
}
|
||
|
|
||
|
warnings "Off"
|
||
|
|
||
|
kind "StaticLib"
|
||
|
end
|
||
|
|
||
|
table.insert(dependencies, mongoose)
|