11 if(ARCH MATCHES amd64)
12 add_definitions(-DUNW_FLAG_NHANDLER=0 -DUNW_FLAG_EHANDLER=1 -DUNW_FLAG_UHANDLER=2 -DUNW_FLAG_CHAININFO=3)
13 endif(ARCH MATCHES amd64)
15 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
19 spec2def(dbghelp.dll dbghelp.spec)
46 ${CMAKE_CURRENT_BINARY_DIR}/dbghelp_stubs.c
47 ${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
49 add_library(dbghelp SHARED ${SOURCE})
51 set_module_type(dbghelp win32dll)
53 target_link_libraries(dbghelp
58 add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
59 add_importlib_target(dbghelp.spec)
60 add_cd_file(TARGET dbghelp DESTINATION reactos/system32)