mirror of
https://github.com/reactos/reactos.git
synced 2024-08-23 11:52:51 +00:00
35 lines
691 B
CMake
35 lines
691 B
CMake
|
|
set_unicode()
|
|
|
|
include_directories(
|
|
${REACTOS_BINARY_DIR}/include/reactos/idl
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
|
|
|
|
set_rc_compiler()
|
|
|
|
spec2def(lsasrv.dll lsasrv.spec)
|
|
|
|
list(APPEND SOURCE
|
|
authport.c
|
|
lsarpc.c
|
|
lsasrv.c
|
|
privileges.c
|
|
sids.c
|
|
lsasrv.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
|
|
|
|
add_library(lsasrv SHARED ${SOURCE})
|
|
|
|
set_entrypoint(lsasrv 0)
|
|
|
|
target_link_libraries(lsasrv
|
|
lsarpc
|
|
wine
|
|
${PSEH_LIB})
|
|
|
|
add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
|
|
add_dependencies(lsasrv psdk)
|
|
add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(lsasrv.spec)
|