mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-20 05:25:44 +00:00
add sqlite (xd!)
This commit is contained in:
parent
ff218452ec
commit
84c212ed2b
33
deps/premake/SQLiteCpp.lua
vendored
Normal file
33
deps/premake/SQLiteCpp.lua
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
SQLiteCpp = {
|
||||||
|
source = path.join(dependencies.basePath, "SQLiteCpp"),
|
||||||
|
}
|
||||||
|
|
||||||
|
function SQLiteCpp.import()
|
||||||
|
links { "SQLiteCpp" }
|
||||||
|
SQLiteCpp.includes()
|
||||||
|
end
|
||||||
|
|
||||||
|
function SQLiteCpp.includes()
|
||||||
|
includedirs {
|
||||||
|
path.join(SQLiteCpp.source, "include"),
|
||||||
|
path.join(SQLiteCpp.source, "sqlite3")
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
function SQLiteCpp.project()
|
||||||
|
project "SQLiteCpp"
|
||||||
|
language "C"
|
||||||
|
|
||||||
|
SQLiteCpp.includes()
|
||||||
|
|
||||||
|
files {
|
||||||
|
path.join(path.join(SQLiteCpp.source, "src"), "**.cpp"),
|
||||||
|
path.join(path.join(SQLiteCpp.source, "sqlite3"), "**.c"),
|
||||||
|
path.join(path.join(SQLiteCpp.source, "sqlite3"), "**.h")
|
||||||
|
}
|
||||||
|
|
||||||
|
warnings "Off"
|
||||||
|
kind "StaticLib"
|
||||||
|
end
|
||||||
|
|
||||||
|
table.insert(dependencies, SQLiteCpp)
|
Loading…
x
Reference in New Issue
Block a user