Skip to content

Commit

Permalink
updated to latest ue4ss main
Browse files Browse the repository at this point in the history
  • Loading branch information
WistfulHopes committed May 18, 2024
1 parent c4d7167 commit a3a3ddc
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 114 deletions.
23 changes: 3 additions & 20 deletions ExamplePluginMod/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
local projectName = "ExamplePluginMod"

target(projectName)
set_kind("shared")
set_languages("cxx20")
set_exceptions("cxx")
add_rules("ue4ss.mod")

add_files("src/dllmain.cpp")

add_deps(
"UE4SS", "Function", "ModuleManagerMod"
)

on_load(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:set_output_dir(target)
end)

on_config(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:config(target)
end)

after_clean(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:clean_output_dir(target)
end)
"Function", "ModuleManagerMod"
)
25 changes: 2 additions & 23 deletions GBVSRollback/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,33 +1,12 @@
local projectName = "GBVSRollback"

target(projectName)
set_kind("shared")
set_languages("cxx20")
set_exceptions("cxx")
add_rules("ue4ss.mod")

add_includedirs("include", { public = true })
add_headerfiles("include/**.hpp")

add_files("src/dllmain.cpp")
add_files("src/PatternFinder.cpp")
add_files("src/BattleState.cpp")
add_files("src/Particles.cpp")

add_deps(
"UE4SS"
)

on_load(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:set_output_dir(target)
end)

on_config(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:config(target)
end)

after_clean(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:clean_output_dir(target)
end)
add_files("src/Particles.cpp")
25 changes: 2 additions & 23 deletions GGSTBPPlayer/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
local projectName = "GGSTBPPlayer"

target(projectName)
set_kind("shared")
set_languages("cxx20")
set_exceptions("cxx")
add_rules("ue4ss.mod")

add_files("src/dllmain.cpp")

add_deps(
"UE4SS"
)

on_load(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:set_output_dir(target)
end)

on_config(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:config(target)
end)

after_clean(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:clean_output_dir(target)
end)
add_files("src/dllmain.cpp")
25 changes: 2 additions & 23 deletions MVCIViewer/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,31 +1,10 @@
local projectName = "MVCIViewer"

target(projectName)
set_kind("shared")
set_languages("cxx20")
set_exceptions("cxx")
add_rules("ue4ss.mod")

add_includedirs("include", { public = true })
add_headerfiles("include/**.hpp")

add_files("src/dllmain.cpp")
add_files("src/math_util.cpp")

add_deps(
"UE4SS"
)

on_load(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:set_output_dir(target)
end)

on_config(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:config(target)
end)

after_clean(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:clean_output_dir(target)
end)
add_files("src/math_util.cpp")
26 changes: 2 additions & 24 deletions ModuleManagerMod/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,12 @@ local projectName = "ModuleManagerMod"
add_requires("raw_pdb", { debug = is_mode_debug(), configs = { runtimes = get_mode_runtimes() } })

target(projectName)
set_kind("shared")
set_languages("cxx20")
set_exceptions("cxx")
add_rules("ue4ss.mod")

add_includedirs("include", { public = true })
add_headerfiles("include/**.hpp")

add_files("src/ModuleManager.cpp")
add_files("src/SymbolResolver.cpp")

add_deps(
"UE4SS"
)

add_packages("raw_pdb")


on_load(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:set_output_dir(target)
end)

on_config(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:config(target)
end)

after_clean(function (target)
import("build_configs", { rootdir = get_config("scriptsRoot") })
build_configs:clean_output_dir(target)
end)
add_packages("raw_pdb")
2 changes: 1 addition & 1 deletion RE-UE4SS
Submodule RE-UE4SS updated 38 files
+10 −40 UE4SS/proxy_generator/proxy/xmake.lua
+15 −0 UE4SS/proxy_generator/xmake.lua
+2 −1 UE4SS/src/LuaType/LuaUScriptStruct.cpp
+31 −24 UE4SS/xmake.lua
+1 −0 UVTD/src/UVTD.cpp
+1 −1 UVTD/xmake.lua
+3 −0 assets/Changelog.md
+486 −0 assets/MemberVarLayoutTemplates/MemberVariableLayout_5_04_Template.ini
+3 −1 assets/Mods/LineTraceMod/Scripts/main.lua
+816 −0 assets/VTableLayoutTemplates/VTableLayout_5_04_Template.ini
+2 −11 deps/first/ASMHelper/xmake.lua
+1 −1 deps/first/ArgsParser/xmake.lua
+2 −6 deps/first/Constructs/xmake.lua
+2 −11 deps/first/DynamicOutput/xmake.lua
+2 −12 deps/first/File/xmake.lua
+2 −6 deps/first/Function/xmake.lua
+2 −6 deps/first/Helpers/xmake.lua
+2 −11 deps/first/IniParser/xmake.lua
+2 −11 deps/first/Input/xmake.lua
+2 −11 deps/first/JSON/xmake.lua
+2 −11 deps/first/LuaMadeSimple/xmake.lua
+1 −10 deps/first/LuaRaw/xmake.lua
+2 −11 deps/first/MProgram/xmake.lua
+2 −11 deps/first/ParserBase/xmake.lua
+3 −10 deps/first/Profiler/xmake.lua
+2 −11 deps/first/ScopedTimer/xmake.lua
+2 −11 deps/first/SinglePassSigScanner/xmake.lua
+1 −1 deps/first/Unreal
+1 −1 deps/first/xmake.lua
+3 −3 deps/third/xmake.lua
+1 −22 docs/guides/creating-a-c++-mod.md
+26 −275 tools/xmakescripts/build_configs.lua
+18 −0 tools/xmakescripts/modules/mode_builder.lua
+17 −0 tools/xmakescripts/modules/mods/install.lua
+27 −0 tools/xmakescripts/modules/target_helpers.lua
+274 −0 tools/xmakescripts/rules/build_rules.lua
+0 −31 tools/xmakescripts/target_helpers.lua
+40 −30 xmake.lua

0 comments on commit a3a3ddc

Please sign in to comment.