[SCHANNEL]
[reactos.git] / reactos / dll / win32 / schannel / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/include/reactos/wine
4 ${REACTOS_SOURCE_DIR}/include/reactos/libs/gnutls)
5
6
7 add_definitions(-D__WINESRC__ -D_WINE)
8 spec2def(schannel.dll schannel.spec)
9
10 list(APPEND SOURCE
11 lsamode.c
12 schannel_gnutls.c
13 schannel_main.c
14 schannel_wine.c
15 secur32_wine.c
16 usermode.c
17 stubs.c
18 precomp.h
19 ${CMAKE_CURRENT_BINARY_DIR}/schannel_stubs.c)
20
21 add_library(schannel SHARED
22 ${SOURCE}
23 version.rc
24 ${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
25
26 set_module_type(schannel win32dll)
27 target_link_libraries(schannel wine)
28 add_importlibs(schannel crypt32 secur32 advapi32 msvcrt kernel32 ntdll)
29 add_pch(schannel precomp.h SOURCE)
30 add_cd_file(TARGET schannel DESTINATION reactos/system32 FOR all)