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