0458c8c25fb08f995d1c6744710ebe36f90d6878
[reactos.git] / dll / win32 / lsasrv / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
6
7 spec2def(lsasrv ${CMAKE_CURRENT_SOURCE_DIR}/lsasrv.spec ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
8
9 add_library(lsasrv SHARED
10 authport.c
11 lsarpc.c
12 lsasrv.c
13 privileges.c
14 sids.c
15 lsasrv.rc)
16
17 set_entrypoint(lsasrv 0)
18
19 target_link_libraries(lsasrv
20 ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def
21 lsa_server
22 wine
23 pseh)
24
25 add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
26 add_dependencies(lsasrv lsasrv_def psdk buildno_header)
27 add_cab_target(lsasrv 1)