2012-12-22 10:47:06 +00:00
|
|
|
|
2014-08-30 21:33:21 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/mbedtls)
|
2014-08-30 21:33:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__ -D_WINE)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(schannel.dll schannel.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
lsamode.c
|
2015-09-28 09:43:08 +00:00
|
|
|
schannel_mbedtls.c
|
2011-05-16 13:12:07 +00:00
|
|
|
schannel_main.c
|
2014-08-30 21:33:21 +00:00
|
|
|
schannel_wine.c
|
|
|
|
secur32_wine.c
|
2011-05-16 13:12:07 +00:00
|
|
|
usermode.c
|
2014-08-30 21:33:21 +00:00
|
|
|
stubs.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/schannel_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(schannel MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
version.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
|
|
|
|
|
|
|
|
set_module_type(schannel win32dll)
|
|
|
|
target_link_libraries(schannel wine)
|
2015-09-28 09:43:08 +00:00
|
|
|
add_importlibs(schannel mbedtls crypt32 secur32 advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(schannel precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET schannel DESTINATION reactos/system32 FOR all)
|