2f1718cb38585ed755d83f2c0f2f7fe780c82429
[reactos.git] / dll / win32 / lsasrv / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(
5 ${REACTOS_BINARY_DIR}/include/reactos/idl
6 ${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
7
8 set_rc_compiler()
9
10 spec2def(lsasrv.dll lsasrv.spec)
11
12 list(APPEND SOURCE
13 authport.c
14 lsarpc.c
15 lsasrv.c
16 privileges.c
17 sids.c
18 lsasrv.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
20
21 add_library(lsasrv SHARED ${SOURCE})
22
23 set_entrypoint(lsasrv 0)
24
25 target_link_libraries(lsasrv
26 lsarpc
27 wine
28 ${PSEH_LIB})
29
30 add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
31 add_dependencies(lsasrv psdk buildno_header)
32 add_cab_target(lsasrv 1)
33 add_importlib_target(lsasrv.spec)