9804adaaca312ecc78c2867617894abf7dbe1bca
[reactos.git] / reactos / dll / win32 / lsasrv / CMakeLists.txt
1
2 include_directories(
3 ${CMAKE_CURRENT_BINARY_DIR}
4 ${REACTOS_SOURCE_DIR}/include/reactos/idl
5 ${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
6
7 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
8 spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 authpackage.c
12 authport.c
13 database.c
14 lookup.c
15 lsarpc.c
16 lsasrv.c
17 policy.c
18 privileges.c
19 registry.c
20 security.c
21 lsasrv.rc
22 ${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c
23 ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def
24 ${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c)
25
26 add_library(lsasrv SHARED ${SOURCE})
27 set_module_type(lsasrv win32dll UNICODE)
28 target_link_libraries(lsasrv wine ${PSEH_LIB})
29 add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
30 add_pch(lsasrv lsasrv.h)
31 add_dependencies(lsasrv psdk)
32 add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)