Textractor_test/vnrhook/libminhook/CMakeLists.txt

17 lines
227 B
CMake
Raw Normal View History

2018-08-24 23:33:01 +08:00
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
set(minhook_src
buffer.c
hook.c
trampoline.c
hde/hde64.c
)
else()
set(minhook_src
buffer.c
hook.c
trampoline.c
hde/hde32.c
)
endif()
add_library(minhook ${minhook_src})