[MSIEXEC] Sync with Wine Staging 2.16. CORE-13762
[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 winlogon.c
16 wlx.c
17 winlogon.h
18 ${CMAKE_CURRENT_BINARY_DIR}/winreg_s.c)
19
20 add_rc_deps(winlogon.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winlogon.ico)
21 add_executable(winlogon ${SOURCE} winlogon.rc)
22 target_link_libraries(winlogon wine)
23 set_module_type(winlogon win32gui)
24 add_importlibs(winlogon user32 advapi32 userenv secur32 rpcrt4 msvcrt kernel32 ntdll)
25 add_pch(winlogon winlogon.h SOURCE)
26 add_cd_file(TARGET winlogon DESTINATION reactos/system32 FOR all)