[SECUR32][LSASRV][LSALIB]
[reactos.git] / reactos / dll / win32 / secur32 / CMakeLists.txt
1
2 add_definitions(-D__SECUR32__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
4
5 spec2def(secur32.dll secur32.spec ADD_IMPORTLIB)
6
7 list(APPEND SOURCE
8 dllmain.c
9 lsalpc.c
10 secext.c
11 sspi.c
12 stubs.c
13 thunks.c
14 wrapper.c
15 precomp.h)
16
17 add_library(secur32 SHARED
18 ${SOURCE}
19 secur32.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/secur32_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/secur32.def)
22
23 set_module_type(secur32 win32dll UNICODE)
24
25 target_link_libraries(secur32 lsalib wine)
26
27 add_importlibs(secur32 advapi32 msvcrt kernel32 ntdll)
28 add_pch(secur32 precomp.h SOURCE)
29
30 add_cd_file(TARGET secur32 DESTINATION reactos/system32 FOR all)
31