2011-05-16 13:12:07 +00:00
|
|
|
|
2011-06-13 15:31:11 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2011-05-16 13:12:07 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(rsaenh.dll rsaenh.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
aes.c
|
|
|
|
des.c
|
|
|
|
handle.c
|
|
|
|
implglue.c
|
|
|
|
md2.c
|
|
|
|
mpi.c
|
|
|
|
rc2.c
|
|
|
|
rc4.c
|
|
|
|
rsa.c
|
|
|
|
rsaenh.c
|
|
|
|
sha2.c
|
2014-02-10 12:19:56 +00:00
|
|
|
tomcrypt.h)
|
|
|
|
|
|
|
|
add_library(rsaenh SHARED
|
|
|
|
${SOURCE}
|
|
|
|
rsrc.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def)
|
|
|
|
|
|
|
|
set_module_type(rsaenh win32dll)
|
2013-09-26 16:41:19 +00:00
|
|
|
target_link_libraries(rsaenh wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(rsaenh tomcrypt.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET rsaenh DESTINATION reactos/system32 FOR all)
|