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