[CMAKE]
[reactos.git] / dll / win32 / cryptdll / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(cryptdll.dll cryptdll.spec)
7
8 list(APPEND SOURCE
9 cryptdll.c
10 stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
12
13 add_library(cryptdll SHARED ${SOURCE})
14
15 set_module_type(cryptdll win32dll)
16 target_link_libraries(cryptdll wine)
17 add_importlibs(cryptdll advapi32 msvcrt kernel32 ntdll)
18 add_cd_file(TARGET cryptdll DESTINATION reactos/system32 FOR all)