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