1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(dbgeng.dll dbgeng.spec) 5 6list(APPEND SOURCE 7 dbgeng.c 8 ${CMAKE_CURRENT_BINARY_DIR}/dbgeng_stubs.c 9 ${CMAKE_CURRENT_BINARY_DIR}/dbgeng.def) 10 11add_library(dbgeng MODULE ${SOURCE}) 12set_module_type(dbgeng win32dll) 13target_link_libraries(dbgeng wine) 14add_importlibs(dbgeng psapi msvcrt ntdll) 15add_delay_importlibs(dbgeng version) 16add_cd_file(TARGET dbgeng DESTINATION reactos/system32 FOR all) 17