mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
63 lines
1.4 KiB
Lua
63 lines
1.4 KiB
Lua
gsc_tool = {
|
|
source = path.join(dependencies.basePath, "gsc-tool"),
|
|
}
|
|
|
|
function gsc_tool.import()
|
|
links { "xsk-gsc-s1", "xsk-gsc-utils" }
|
|
gsc_tool.includes()
|
|
end
|
|
|
|
function gsc_tool.includes()
|
|
includedirs {
|
|
path.join(gsc_tool.source, "include"),
|
|
}
|
|
end
|
|
|
|
function gsc_tool.project()
|
|
project "xsk-gsc-utils"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
|
|
files {
|
|
path.join(gsc_tool.source, "include/xsk/utils/*.hpp"),
|
|
path.join(gsc_tool.source, "src/utils/*.cpp"),
|
|
}
|
|
|
|
includedirs {
|
|
path.join(gsc_tool.source, "include"),
|
|
}
|
|
|
|
zlib.includes()
|
|
|
|
project "xsk-gsc-s1"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
|
|
filter "action:vs*"
|
|
buildoptions "/Zc:__cplusplus"
|
|
filter {}
|
|
|
|
files {
|
|
path.join(gsc_tool.source, "include/xsk/stdinc.hpp"),
|
|
|
|
path.join(gsc_tool.source, "include/xsk/gsc/engine/s1_pc.hpp"),
|
|
path.join(gsc_tool.source, "src/gsc/engine/s1_pc.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/s1_pc_code.cpp"),
|
|
path.join(gsc_tool.source, "src/gsc/engine/s1_pc_func.cpp"),
|
|
path.join(gsc_tool.source, "src/gsc/engine/s1_pc_meth.cpp"),
|
|
path.join(gsc_tool.source, "src/gsc/engine/s1_pc_token.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/*.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/common/*.cpp"),
|
|
path.join(gsc_tool.source, "include/xsk/gsc/common/*.hpp"),
|
|
}
|
|
|
|
includedirs {
|
|
path.join(gsc_tool.source, "include"),
|
|
}
|
|
end
|
|
|
|
table.insert(dependencies, gsc_tool)
|