2011-05-16 13:12:07 +00:00
|
|
|
|
2014-09-30 17:13:16 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
2014-09-30 17:13:16 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winreg.idl)
|
2014-09-30 17:13:16 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
environment.c
|
2015-08-16 14:39:44 +00:00
|
|
|
notify.c
|
2014-09-30 17:13:16 +00:00
|
|
|
rpcserver.c
|
2011-05-16 13:12:07 +00:00
|
|
|
sas.c
|
|
|
|
screensaver.c
|
2022-04-02 16:16:40 +00:00
|
|
|
security.c
|
2011-05-16 13:12:07 +00:00
|
|
|
setup.c
|
2018-04-01 22:42:15 +00:00
|
|
|
shutdown.c
|
2011-05-16 13:12:07 +00:00
|
|
|
winlogon.c
|
|
|
|
wlx.c
|
2014-09-30 17:13:16 +00:00
|
|
|
winlogon.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winreg_s.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-06-26 18:04:31 +00:00
|
|
|
add_rc_deps(winlogon.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winlogon.ico)
|
2014-02-09 10:40:34 +00:00
|
|
|
add_executable(winlogon ${SOURCE} winlogon.rc)
|
2022-09-30 18:40:43 +00:00
|
|
|
target_link_libraries(winlogon wine ${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(winlogon win32gui)
|
2018-09-11 06:15:37 +00:00
|
|
|
add_importlibs(winlogon user32 advapi32 userenv secur32 rpcrt4 mpr msvcrt kernel32 ntdll)
|
2014-02-09 10:40:34 +00:00
|
|
|
add_pch(winlogon winlogon.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET winlogon DESTINATION reactos/system32 FOR all)
|