maint: update gsc-tool (#643)

This commit is contained in:
Edo 2023-03-02 18:20:30 +00:00 committed by GitHub
parent 69beeea77f
commit de1d05df78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 20 deletions

2
deps/gsc-tool vendored

@ -1 +1 @@
Subproject commit 30efba5424e89adc2133caf671c5c4e73208c3dd Subproject commit f6ae955f34fbe8cfefa8e9d8112c5c4a993c19bb

View File

@ -1,5 +1,5 @@
gsc_tool = { gsc_tool = {
source = path.join(dependencies.basePath, "gsc-tool/src"), source = path.join(dependencies.basePath, "gsc-tool"),
} }
function gsc_tool.import() function gsc_tool.import()
@ -9,7 +9,7 @@ end
function gsc_tool.includes() function gsc_tool.includes()
includedirs { includedirs {
gsc_tool.source, path.join(gsc_tool.source, "include"),
} }
end end
@ -19,13 +19,12 @@ function gsc_tool.project()
language "C++" language "C++"
files { files {
path.join(gsc_tool.source, "utils/**.hpp"), path.join(gsc_tool.source, "include/xsk/utils/*.hpp"),
path.join(gsc_tool.source, "utils/**.cpp"), path.join(gsc_tool.source, "src/utils/*.cpp"),
} }
includedirs { includedirs {
path.join(gsc_tool.source, "utils"), path.join(gsc_tool.source, "include"),
gsc_tool.source,
} }
zlib.includes() zlib.includes()
@ -39,23 +38,24 @@ function gsc_tool.project()
filter {} filter {}
files { files {
path.join(gsc_tool.source, "stdinc.hpp"), path.join(gsc_tool.source, "include/xsk/stdinc.hpp"),
path.join(gsc_tool.source, "s1/s1_pc.hpp"), path.join(gsc_tool.source, "include/xsk/gsc/engine/s1_pc.hpp"),
path.join(gsc_tool.source, "s1/s1_pc.cpp"), path.join(gsc_tool.source, "src/gsc/engine/s1_pc.cpp"),
path.join(gsc_tool.source, "s1/s1_pc_code.cpp"),
path.join(gsc_tool.source, "s1/s1_pc_func.cpp"),
path.join(gsc_tool.source, "s1/s1_pc_meth.cpp"),
path.join(gsc_tool.source, "s1/s1_pc_token.cpp"),
path.join(gsc_tool.source, "gsc/misc/*.hpp"), path.join(gsc_tool.source, "src/gsc/engine/s1_pc_code.cpp"),
path.join(gsc_tool.source, "gsc/misc/*.cpp"), path.join(gsc_tool.source, "src/gsc/engine/s1_pc_func.cpp"),
path.join(gsc_tool.source, "gsc/*.hpp"), path.join(gsc_tool.source, "src/gsc/engine/s1_pc_meth.cpp"),
path.join(gsc_tool.source, "gsc/*.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 { includedirs {
gsc_tool.source, path.join(gsc_tool.source, "include"),
} }
end end

View File

@ -1,5 +1,5 @@
#pragma once #pragma once
#include <s1/s1_pc.hpp> #include <xsk/gsc/engine/s1_pc.hpp>
namespace gsc namespace gsc
{ {