[CMAKE]
[reactos.git] / dll / win32 / schannel / CMakeLists.txt
1 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
2 add_definitions(-D__WINESRC__)
3
4 set_rc_compiler()
5 spec2def(schannel.dll schannel.spec)
6
7 list(APPEND SOURCE
8 lsamode.c
9 schannel_main.c
10 usermode.c
11 version.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/schannel_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
14
15 add_library(schannel SHARED ${SOURCE})
16
17 set_module_type(schannel win32dll)
18
19 target_link_libraries(schannel wine)
20
21 add_importlibs(schannel secur32 msvcrt kernel32 ntdll)
22
23 add_cd_file(TARGET schannel DESTINATION reactos/system32)