add detours library for API hooking.

(update aken driver while at it)

This was SVN commit r5107.
This commit is contained in:
janwas
2007-05-28 15:01:29 +00:00
parent 29610672f4
commit 7fe6c3d77f
4 changed files with 8 additions and 3 deletions
Binary file not shown.
Binary file not shown.
+4 -1
View File
@@ -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 = "",
+4 -2
View File
@@ -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