[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 ${CMAKE_CURRENT_SOURCE_DIR}/cryptnet.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
6
7 add_library(cryptnet SHARED cryptnet_main.c)
8
9 set_module_type(cryptnet win32dll)
10
11 target_link_libraries(cryptnet
12 ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def
13 wine)
14
15 add_importlibs(cryptnet
16 crypt32
17 wininet
18 kernel32
19 ntdll)
20
21 add_dependencies(cryptnet cryptnet_def)
22 add_cab_target(cryptnet 1)