2022-09-11 13:14:42 -04:00
|
|
|
gsc_tool = {
|
2023-04-23 08:46:40 -04:00
|
|
|
source = path.join(dependencies.basePath, "gsc-tool")
|
2022-09-11 13:14:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
function gsc_tool.import()
|
|
|
|
links {"xsk-gsc-h1", "xsk-gsc-utils"}
|
|
|
|
gsc_tool.includes()
|
|
|
|
end
|
|
|
|
|
|
|
|
function gsc_tool.includes()
|
|
|
|
includedirs {
|
2023-04-23 08:46:40 -04:00
|
|
|
path.join(gsc_tool.source, "include")
|
2022-09-11 13:14:42 -04:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
function gsc_tool.project()
|
|
|
|
project "xsk-gsc-utils"
|
2023-04-23 08:46:40 -04:00
|
|
|
kind "StaticLib"
|
|
|
|
language "C++"
|
|
|
|
warnings "Off"
|
2022-09-11 13:14:42 -04:00
|
|
|
|
2023-04-23 08:46:40 -04:00
|
|
|
files {
|
|
|
|
path.join(gsc_tool.source, "include/xsk/utils/*.hpp"),
|
|
|
|
path.join(gsc_tool.source, "src/utils/*.cpp")
|
|
|
|
}
|
2022-09-11 13:14:42 -04:00
|
|
|
|
2023-04-23 08:46:40 -04:00
|
|
|
includedirs {
|
|
|
|
path.join(gsc_tool.source, "include")
|
|
|
|
}
|
2022-09-11 13:14:42 -04:00
|
|
|
|
2023-04-23 08:46:40 -04:00
|
|
|
zlib.includes()
|
2022-09-11 13:14:42 -04:00
|
|
|
|
|
|
|
project "xsk-gsc-h1"
|
2023-04-23 08:46:40 -04:00
|
|
|
kind "StaticLib"
|
|
|
|
language "C++"
|
|
|
|
warnings "Off"
|
2022-09-11 13:14:42 -04:00
|
|
|
|
|
|
|
filter "action:vs*"
|
|
|
|
buildoptions "/Zc:__cplusplus"
|
|
|
|
filter {}
|
2023-04-23 08:46:40 -04:00
|
|
|
|
|
|
|
files {
|
|
|
|
path.join(gsc_tool.source, "include/xsk/stdinc.hpp"),
|
|
|
|
|
|
|
|
path.join(gsc_tool.source, "include/xsk/gsc/engine/h1.hpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/h1.cpp"),
|
|
|
|
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/h1_code.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/h1_func.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/h1_meth.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/h1_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")
|
|
|
|
}
|
2022-09-11 13:14:42 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
table.insert(dependencies, gsc_tool)
|