mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
add detours library for API hooking.
(update aken driver while at it) This was SVN commit r5107.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -18,7 +18,7 @@ local function add_extern_lib_paths(extern_lib)
|
||||
if OS == "windows" or extern_lib == 'cxxtest' or extern_lib == 'fcollada' then
|
||||
tinsert(package.includepaths, libraries_dir .. extern_lib .. "/include")
|
||||
end
|
||||
tinsert(package.libpaths, libraries_dir .. extern_lib .. "/lib")
|
||||
tinsert(package.libpaths, libraries_dir .. extern_lib .. "/lib")
|
||||
|
||||
end
|
||||
|
||||
@@ -71,6 +71,9 @@ extern_lib_defs = {
|
||||
devil = {
|
||||
unix_names = { "IL", "ILU" },
|
||||
},
|
||||
detours = {
|
||||
dbg_suffix = "",
|
||||
},
|
||||
directx = {
|
||||
win_names = { "ddraw", },
|
||||
dbg_suffix = "",
|
||||
|
||||
@@ -388,7 +388,8 @@ function setup_all_libs ()
|
||||
"libjpg",
|
||||
"dbghelp",
|
||||
"directx",
|
||||
"cryptopp"
|
||||
"cryptopp",
|
||||
"detours"
|
||||
}
|
||||
setup_static_lib_package("lowlevel", source_dirs, extern_libs, {})
|
||||
sysdep_dirs = {
|
||||
@@ -425,6 +426,7 @@ used_extern_libs = {
|
||||
"dbghelp",
|
||||
"cxxtest",
|
||||
"directx",
|
||||
"detours"
|
||||
}
|
||||
|
||||
-- Bundles static libs together with main.cpp and builds game executable.
|
||||
@@ -458,7 +460,7 @@ function setup_main_exe ()
|
||||
end
|
||||
|
||||
package.linkoptions = {
|
||||
-- required for win.cpp's init mechanism
|
||||
-- required for winit.cpp's init mechanism
|
||||
"/ENTRY:entry",
|
||||
|
||||
-- delay loading of various Windows DLLs (not specific to any of the
|
||||
|
||||
Reference in New Issue
Block a user