mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
35 lines
927 B
CMake
35 lines
927 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)
|
|
spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
authpackage.c
|
|
authport.c
|
|
database.c
|
|
lookup.c
|
|
lsarpc.c
|
|
lsasrv.c
|
|
policy.c
|
|
privileges.c
|
|
registry.c
|
|
security.c
|
|
session.c
|
|
utils.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_module_type(lsasrv win32dll UNICODE)
|
|
target_link_libraries(lsasrv wine ${PSEH_LIB})
|
|
add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
|
|
add_pch(lsasrv lsasrv.h)
|
|
add_dependencies(lsasrv psdk)
|
|
add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
|