2011-05-16 13:12:07 +00:00
|
|
|
|
2011-06-13 15:31:11 +00:00
|
|
|
add_definitions(-D_IMAGEHLP_SOURCE_)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(imagehlp.dll imagehlp.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
access.c
|
|
|
|
imagehlp_main.c
|
|
|
|
integrity.c
|
2020-05-09 21:37:40 +00:00
|
|
|
modify.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/imagehlp_stubs.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(imagehlp MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
imagehlp.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def)
|
|
|
|
|
|
|
|
set_module_type(imagehlp win32dll)
|
2015-11-22 10:24:00 +00:00
|
|
|
target_link_libraries(imagehlp wine ${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(imagehlp dbghelp msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(imagehlp precomp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET imagehlp DESTINATION reactos/system32 FOR all)
|