mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
35 lines
482 B
Lua
35 lines
482 B
Lua
fmt = {
|
|
source = path.join(dependencies.basePath, "fmt"),
|
|
}
|
|
|
|
function fmt.import()
|
|
links { "fmt" }
|
|
|
|
fmt.includes()
|
|
end
|
|
|
|
function fmt.includes()
|
|
includedirs {
|
|
path.join(fmt.source, "include"),
|
|
}
|
|
end
|
|
|
|
function fmt.project()
|
|
project "fmt"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
|
|
fmt.includes()
|
|
|
|
files {
|
|
path.join(fmt.source, "include/fmt/*.h"),
|
|
path.join(fmt.source, "src/*.cc")
|
|
}
|
|
|
|
removefiles {
|
|
path.join(fmt.source, "src/fmt.cc")
|
|
}
|
|
end
|
|
|
|
table.insert(dependencies, fmt)
|