[WINLOGON] On logoff, also disconnect from any remote location
[reactos.git] / base / system / winlogon / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
4 ${CMAKE_CURRENT_BINARY_DIR})
5
6 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winreg.idl)
7
8 list(APPEND SOURCE
9 environment.c
10 notify.c
11 rpcserver.c
12 sas.c
13 screensaver.c
14 setup.c
15 shutdown.c
16 winlogon.c
17 wlx.c
18 winlogon.h
19 ${CMAKE_CURRENT_BINARY_DIR}/winreg_s.c)
20
21 add_rc_deps(winlogon.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winlogon.ico)
22 add_executable(winlogon ${SOURCE} winlogon.rc)
23 target_link_libraries(winlogon wine)
24 set_module_type(winlogon win32gui)
25 add_importlibs(winlogon user32 advapi32 userenv secur32 rpcrt4 mpr msvcrt kernel32 ntdll)
26 add_pch(winlogon winlogon.h SOURCE)
27 add_cd_file(TARGET winlogon DESTINATION reactos/system32 FOR all)