reactos/drivers/base/kdcom/CMakeLists.txt
2021-03-24 15:20:06 +01:00

21 lines
500 B
CMake

spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
list(APPEND SOURCE
kdcom.c
kddll.c
kdserial.c
kddll.h)
add_library(kdcom MODULE
${SOURCE}
kdcom.rc
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
set_module_type(kdcom kerneldll ENTRYPOINT 0)
set_subsystem(kdcom native)
add_importlibs(kdcom ntoskrnl hal)
target_link_libraries(kdcom cportlib)
add_dependencies(kdcom psdk bugcodes)
add_pch(kdcom kddll.h SOURCE)
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)