mirror of
https://github.com/reactos/reactos.git
synced 2024-08-23 19:58:25 +00:00
34 lines
846 B
CMake
34 lines
846 B
CMake
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
|
|
|
|
set_unicode()
|
|
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
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c)
|
|
|
|
add_library(lsasrv SHARED ${SOURCE})
|
|
|
|
set_entrypoint(lsasrv 0)
|
|
target_link_libraries(lsasrv wine ${PSEH_LIB})
|
|
add_importlibs(lsasrv rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(lsasrv lsasrv.h)
|
|
add_dependencies(lsasrv psdk)
|
|
add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(lsasrv.spec)
|