* Sync up to trunk head (r64921).
[reactos.git] / dll / win32 / rsaenh / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(rsaenh.dll rsaenh.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 aes.c
8 des.c
9 handle.c
10 implglue.c
11 md2.c
12 mpi.c
13 rc2.c
14 rc4.c
15 rsa.c
16 rsaenh.c
17 sha2.c
18 tomcrypt.h)
19
20 add_library(rsaenh SHARED
21 ${SOURCE}
22 rsrc.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def)
24
25 set_module_type(rsaenh win32dll)
26 target_link_libraries(rsaenh wine)
27 add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
28 add_pch(rsaenh tomcrypt.h SOURCE)
29 add_cd_file(TARGET rsaenh DESTINATION reactos/system32 FOR all)