2022-12-03 10:41:24 -05:00
|
|
|
gsc_tool = {
|
2023-03-02 12:51:02 -05:00
|
|
|
source = path.join(dependencies.basePath, "gsc-tool"),
|
2022-12-03 10:41:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
function gsc_tool.import()
|
|
|
|
links { "xsk-gsc-iw5", "xsk-gsc-utils" }
|
|
|
|
gsc_tool.includes()
|
|
|
|
end
|
|
|
|
|
|
|
|
function gsc_tool.includes()
|
|
|
|
includedirs {
|
2023-03-02 12:51:02 -05:00
|
|
|
path.join(gsc_tool.source, "include"),
|
2022-12-03 10:41:24 -05:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
function gsc_tool.project()
|
|
|
|
project "xsk-gsc-utils"
|
|
|
|
kind "StaticLib"
|
|
|
|
language "C++"
|
|
|
|
|
|
|
|
files {
|
2023-03-02 12:51:02 -05:00
|
|
|
path.join(gsc_tool.source, "include/xsk/utils/*.hpp"),
|
|
|
|
path.join(gsc_tool.source, "src/utils/*.cpp"),
|
2022-12-03 10:41:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
includedirs {
|
2023-03-02 12:51:02 -05:00
|
|
|
path.join(gsc_tool.source, "include"),
|
2022-12-03 10:41:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
zlib.includes()
|
|
|
|
|
|
|
|
project "xsk-gsc-iw5"
|
|
|
|
kind "StaticLib"
|
|
|
|
language "C++"
|
|
|
|
|
2023-02-12 07:43:29 -05:00
|
|
|
filter "action:vs*"
|
2022-12-03 10:41:24 -05:00
|
|
|
buildoptions "/Zc:__cplusplus"
|
|
|
|
filter {}
|
|
|
|
|
|
|
|
files {
|
2023-03-02 12:51:02 -05:00
|
|
|
path.join(gsc_tool.source, "include/xsk/stdinc.hpp"),
|
|
|
|
|
|
|
|
path.join(gsc_tool.source, "include/xsk/gsc/engine/iw5_pc.hpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/iw5_pc.cpp"),
|
|
|
|
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/iw5_pc_code.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/iw5_pc_func.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/iw5_pc_meth.cpp"),
|
|
|
|
path.join(gsc_tool.source, "src/gsc/engine/iw5_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"),
|
2022-12-03 10:41:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
includedirs {
|
2023-03-02 12:51:02 -05:00
|
|
|
path.join(gsc_tool.source, "include"),
|
2022-12-03 10:41:24 -05:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
table.insert(dependencies, gsc_tool)
|