[CMAKE]
[reactos.git] / dll / win32 / cryptnet / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(cryptnet.dll cryptnet.spec)
6
7 list(APPEND SOURCE
8 cryptnet_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/cryptnet_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
11
12 add_library(cryptnet SHARED ${SOURCE})
13
14 set_module_type(cryptnet win32dll)
15
16 target_link_libraries(cryptnet wine)
17
18 add_importlibs(cryptnet
19 crypt32
20 wininet
21 msvcrt
22 kernel32
23 ntdll)
24
25 add_importlib_target(cryptnet.spec)
26 add_cab_target(cryptnet 1)