xref: /reactos/drivers/base/kdcom/CMakeLists.txt (revision 84344399)
1
2spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
3
4list(APPEND SOURCE
5    kdcom.c
6    kddll.c
7    kdserial.c
8    kddll.h)
9
10add_library(kdcom MODULE
11    ${SOURCE}
12    kdcom.rc
13    ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
14
15set_module_type(kdcom kerneldll ENTRYPOINT 0)
16set_subsystem(kdcom native)
17add_importlibs(kdcom ntoskrnl hal)
18target_link_libraries(kdcom cportlib)
19add_dependencies(kdcom psdk bugcodes)
20add_pch(kdcom kddll.h SOURCE)
21add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
22