d5ae0ae8e94aef970c7113f98beca3db8e2a26bf
[reactos.git] / dll / win32 / rsaenh / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_DLL -D__USE_CRTIMP)
4
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(rsaenh ${CMAKE_CURRENT_SOURCE_DIR}/rsaenh.spec ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def)
8
9 add_library(rsaenh SHARED
10 aes.c
11 des.c
12 handle.c
13 implglue.c
14 md2.c
15 mpi.c
16 rc2.c
17 rc4.c
18 rsa.c
19 rsaenh.c
20 sha2.c
21 version.rc)
22
23 set_module_type(rsaenh win32dll)
24
25 target_link_libraries(rsaenh
26 ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def
27 wine)
28
29 add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
30
31 add_dependencies(rsaenh rsaenh_def)
32 add_livecd_target(rsaenh reactos/system32)