mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-23 01:02:23 +08:00
feat: dynamicly hooking x64 functions from lua at runtime with arbitrary signatures. (#3301)
* feat: dynamicly hooking x64 functions from lua at runtime with arbitrary signatures. * fix missing include * c/c++ include system is a good system
This commit is contained in:
@ -15,6 +15,7 @@ include(cmake/git.cmake)
|
||||
|
||||
# Fetch modules
|
||||
message("\nFetching modules")
|
||||
include(cmake/asmjit.cmake)
|
||||
include(cmake/minhook.cmake)
|
||||
include(cmake/async-logger.cmake)
|
||||
include(cmake/pugixml.cmake)
|
||||
@ -58,10 +59,11 @@ target_include_directories(YimMenu PRIVATE
|
||||
"${gtav_classes_SOURCE_DIR}"
|
||||
"${imgui_SOURCE_DIR}"
|
||||
"${minhook_SOURCE_DIR}/src/hde"
|
||||
"${asmjit_SOURCE_DIR}/src"
|
||||
)
|
||||
|
||||
target_precompile_headers(YimMenu PRIVATE "${SRC_DIR}/common.hpp")
|
||||
target_link_libraries(YimMenu PRIVATE pugixml minhook AsyncLogger dbghelp imgui cpr lua_static)
|
||||
target_link_libraries(YimMenu PRIVATE pugixml minhook AsyncLogger dbghelp imgui cpr lua_static asmjit::asmjit)
|
||||
|
||||
# Warnings as errors
|
||||
set_property(TARGET YimMenu PROPERTY COMPILE_WARNING_AS_ERROR ON)
|
||||
|
Reference in New Issue
Block a user