Sync with trunk r62529.
[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 ADD_IMPORTLIB)
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 set_module_type(cryptnet win32dll)
14 target_link_libraries(cryptnet wine)
15 add_delay_importlibs(cryptnet wininet)
16 add_importlibs(cryptnet crypt32 msvcrt kernel32 ntdll)
17 add_cd_file(TARGET cryptnet DESTINATION reactos/system32 FOR all)