06d5fa6156d28f9fab178a6fd014c9da79b43785
[reactos.git] / win32ss / user / consrv / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/include/reactos/subsys
4 ${REACTOS_SOURCE_DIR}/win32ss/include
5 ${REACTOS_SOURCE_DIR}/dll/cpl/console)
6
7 spec2def(consrv.dll consrv.spec)
8
9 list(APPEND SOURCE
10 alias.c
11 coninput.c
12 conoutput.c
13 console.c
14 guiconsole.c
15 handle.c
16 init.c
17 lineinput.c
18 server.c
19 tuiconsole.c
20 consrv.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/consrv.def)
22
23 add_library(consrv SHARED ${SOURCE})
24
25 target_link_libraries(consrv win32ksys ${PSEH_LIB}) # win32ksys because of NtUser...()
26
27 set_module_type(consrv win32dll)
28
29 add_importlibs(consrv psapi msvcrt kernel32 ntdll csrsrv)
30 add_delay_importlibs(consrv user32 gdi32 advapi32)
31
32 add_dependencies(consrv bugcodes)
33 add_cd_file(TARGET consrv DESTINATION reactos/system32 FOR all)