xref: /reactos/dll/win32/schannel/CMakeLists.txt (revision c2c66aff)
1
2include_directories(
3    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
4    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/mbedtls)
5
6
7add_definitions(-D__WINESRC__ -D_WINE)
8spec2def(schannel.dll schannel.spec)
9
10list(APPEND SOURCE
11    lsamode.c
12    schannel_mbedtls.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
21add_library(schannel SHARED
22    ${SOURCE}
23    version.rc
24    ${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
25
26set_module_type(schannel win32dll)
27target_link_libraries(schannel wine)
28add_importlibs(schannel mbedtls crypt32 secur32 advapi32 msvcrt kernel32 ntdll)
29add_pch(schannel precomp.h SOURCE)
30add_cd_file(TARGET schannel DESTINATION reactos/system32 FOR all)
31