From 16b22b8b9bb2c3aad8afa8c631103d01fcb1d60d Mon Sep 17 00:00:00 2001 From: FutureRave Date: Thu, 2 Mar 2023 17:51:02 +0000 Subject: [PATCH] update lua one more time --- deps/gsc-tool | 2 +- deps/premake/gsc-tool.lua | 36 +++++++++++++++---------------- src/module/gsc/script_loading.hpp | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/deps/gsc-tool b/deps/gsc-tool index 1bca247..f6ae955 160000 --- a/deps/gsc-tool +++ b/deps/gsc-tool @@ -1 +1 @@ -Subproject commit 1bca24780846de7cd08b6b191a336f59dadadf40 +Subproject commit f6ae955f34fbe8cfefa8e9d8112c5c4a993c19bb diff --git a/deps/premake/gsc-tool.lua b/deps/premake/gsc-tool.lua index 8ece96e..45674dc 100644 --- a/deps/premake/gsc-tool.lua +++ b/deps/premake/gsc-tool.lua @@ -1,5 +1,5 @@ gsc_tool = { - source = path.join(dependencies.basePath, "gsc-tool/src"), + source = path.join(dependencies.basePath, "gsc-tool"), } function gsc_tool.import() @@ -9,7 +9,7 @@ end function gsc_tool.includes() includedirs { - gsc_tool.source, + path.join(gsc_tool.source, "include"), } end @@ -19,13 +19,12 @@ function gsc_tool.project() language "C++" files { - path.join(gsc_tool.source, "utils/**.hpp"), - path.join(gsc_tool.source, "utils/**.cpp"), + path.join(gsc_tool.source, "include/xsk/utils/*.hpp"), + path.join(gsc_tool.source, "src/utils/*.cpp"), } includedirs { - gsc_tool.source, - path.join(gsc_tool.source, "utils"), + path.join(gsc_tool.source, "include"), } zlib.includes() @@ -39,23 +38,24 @@ function gsc_tool.project() filter {} files { - path.join(gsc_tool.source, "stdinc.hpp"), + path.join(gsc_tool.source, "include/xsk/stdinc.hpp"), - path.join(gsc_tool.source, "iw5/iw5_pc.hpp"), - path.join(gsc_tool.source, "iw5/iw5_pc.cpp"), - path.join(gsc_tool.source, "iw5/iw5_pc_code.cpp"), - path.join(gsc_tool.source, "iw5/iw5_pc_func.cpp"), - path.join(gsc_tool.source, "iw5/iw5_pc_meth.cpp"), - path.join(gsc_tool.source, "iw5/iw5_pc_token.cpp"), + 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, "gsc/misc/*.hpp"), - path.join(gsc_tool.source, "gsc/misc/*.cpp"), - path.join(gsc_tool.source, "gsc/*.hpp"), - path.join(gsc_tool.source, "gsc/*.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"), } includedirs { - gsc_tool.source, + path.join(gsc_tool.source, "include"), } end diff --git a/src/module/gsc/script_loading.hpp b/src/module/gsc/script_loading.hpp index 2190ef3..86dfd69 100644 --- a/src/module/gsc/script_loading.hpp +++ b/src/module/gsc/script_loading.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include namespace gsc {