mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 23:28:58 +00:00
23 lines
730 B
CMake
23 lines
730 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/seclogon.idl)
|
|
spec2def(seclogon.dll seclogon.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
rpcserver.c
|
|
seclogon.c
|
|
precomp.h)
|
|
|
|
add_library(seclogon MODULE
|
|
${SOURCE}
|
|
seclogon.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/seclogon_s.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/seclogon_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/seclogon.def)
|
|
|
|
set_module_type(seclogon win32dll UNICODE)
|
|
target_link_libraries(seclogon wine ${PSEH_LIB})
|
|
add_importlibs(seclogon userenv advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(seclogon precomp.h SOURCE)
|
|
add_cd_file(TARGET seclogon DESTINATION reactos/system32 FOR all)
|