[CMAKE]
[reactos.git] / drivers / base / kdcom / CMakeLists.txt
1
2 spec2def(kdcom.dll kdcom.spec)
3
4 if(ARCH MATCHES i386)
5 list(APPEND SOURCE i386/kdbg.c)
6 elseif(ARCH MATCHES amd64)
7 list(APPEND SOURCE i386/kdbg.c)
8 elseif(ARCH MATCHES arm)
9 list(APPEND SOURCE arm/kdbg.c)
10 endif(ARCH MATCHES i386)
11 list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
12
13 add_library(kdcom SHARED ${SOURCE})
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
21 add_dependencies(kdcom psdk buildno_header bugcodes)
22 add_minicd_target(kdcom reactos kdcom.dll)
23 add_livecd_target(kdcom reactos/system32)