1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
3add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/seclogon.idl)
4spec2def(seclogon.dll seclogon.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    rpcserver.c
8    seclogon.c
9    precomp.h)
10
11add_library(seclogon MODULE
12    ${SOURCE}
13    seclogon.rc
14    ${CMAKE_CURRENT_BINARY_DIR}/seclogon_s.c
15    ${CMAKE_CURRENT_BINARY_DIR}/seclogon_stubs.c
16    ${CMAKE_CURRENT_BINARY_DIR}/seclogon.def)
17
18set_module_type(seclogon win32dll UNICODE)
19target_link_libraries(seclogon wine ${PSEH_LIB})
20add_importlibs(seclogon userenv advapi32 rpcrt4 msvcrt kernel32 ntdll)
21add_pch(seclogon precomp.h SOURCE)
22add_cd_file(TARGET seclogon DESTINATION reactos/system32 FOR all)
23