2 add_definitions(-D_IMAGEHLP_SOURCE_)
3 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(imagehlp.dll imagehlp.spec ADD_IMPORTLIB)
13 add_library(imagehlp MODULE
16 ${CMAKE_CURRENT_BINARY_DIR}/imagehlp_stubs.c
17 ${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def)
19 set_module_type(imagehlp win32dll)
20 target_link_libraries(imagehlp wine ${PSEH_LIB})
21 add_importlibs(imagehlp dbghelp msvcrt kernel32 ntdll)
22 add_pch(imagehlp precomp.h SOURCE)
23 add_cd_file(TARGET imagehlp DESTINATION reactos/system32 FOR all)