2022-04-07 05:41:20 -04:00
|
|
|
mongoose = {
|
|
|
|
source = path.join(dependencies.basePath, "mongoose"),
|
|
|
|
}
|
|
|
|
|
|
|
|
function mongoose.import()
|
2023-02-24 05:23:06 -05:00
|
|
|
links "mongoose"
|
2022-04-07 05:41:20 -04:00
|
|
|
|
|
|
|
mongoose.includes()
|
|
|
|
end
|
|
|
|
|
|
|
|
function mongoose.includes()
|
2023-02-24 05:23:06 -05:00
|
|
|
includedirs {
|
|
|
|
mongoose.source,
|
|
|
|
}
|
2022-04-07 05:41:20 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
function mongoose.project()
|
|
|
|
project "mongoose"
|
|
|
|
language "C"
|
|
|
|
|
|
|
|
mongoose.includes()
|
|
|
|
|
|
|
|
files
|
|
|
|
{
|
2022-10-26 19:48:33 -04:00
|
|
|
path.join(mongoose.source, "mongoose.c"),
|
|
|
|
path.join(mongoose.source, "mongoose.h"),
|
2022-04-07 05:41:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
warnings "Off"
|
|
|
|
|
|
|
|
kind "StaticLib"
|
|
|
|
end
|
|
|
|
|
|
|
|
table.insert(dependencies, mongoose)
|