2012-12-22 10:47:06 +00:00
|
|
|
|
2014-08-30 21:33:21 +00:00
|
|
|
include_directories(
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/gnutls)
|
|
|
|
|
|
|
|
|
|
|
|
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
|
2014-08-30 21:33:21 +00:00
|
|
|
schannel_gnutls.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)
|
|
|
|
|
|
|
|
add_library(schannel SHARED
|
|
|
|
${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)
|
2014-09-01 16:32:26 +00:00
|
|
|
add_importlibs(schannel 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)
|