xref: /reactos/dll/win32/rsaenh/CMakeLists.txt (revision c2c66aff)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(rsaenh.dll rsaenh.spec ADD_IMPORTLIB NO_PRIVATE_WARNINGS)
5
6list(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
20add_library(rsaenh SHARED
21    ${SOURCE}
22    rsrc.rc
23    ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def)
24
25set_module_type(rsaenh win32dll)
26target_link_libraries(rsaenh wine)
27add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
28add_pch(rsaenh tomcrypt.h SOURCE)
29add_cd_file(TARGET rsaenh DESTINATION reactos/system32 FOR all)
30