10 if(ARCH MATCHES amd64)
11 add_definitions(-DUNW_FLAG_NHANDLER=0 -DUNW_FLAG_EHANDLER=1 -DUNW_FLAG_UHANDLER=2 -DUNW_FLAG_CHAININFO=3)
12 endif(ARCH MATCHES amd64)
14 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
18 spec2def(dbghelp.dll dbghelp.spec)
45 ${CMAKE_CURRENT_BINARY_DIR}/dbghelp_stubs.c
46 ${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
48 add_library(dbghelp SHARED ${SOURCE})
50 set_module_type(dbghelp win32dll)
52 target_link_libraries(dbghelp
57 add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
58 add_importlib_target(dbghelp.spec)
59 add_cab_target(dbghelp 1)