1
2spec2def(kdcom.dll kdrosdbg.spec ADD_IMPORTLIB)
3
4list(APPEND SOURCE
5    kdrosdbg.c
6    kdrosdbg.rc
7    ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
8
9add_library(kdcom MODULE ${SOURCE})
10set_module_type(kdcom kerneldll ENTRYPOINT 0)
11add_importlibs(kdcom ntoskrnl hal)
12target_link_libraries(kdcom cportlib)
13add_dependencies(kdcom psdk)
14add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
15