[CMAKE]
[reactos.git] / reactos / dll / win32 / cryptdlg / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(cryptdlg.dll cryptdlg.spec)
6
7 list(APPEND SOURCE
8 main.c
9 cryptdlg.rc
10 ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
12
13 add_library(cryptdlg SHARED ${SOURCE})
14 set_module_type(cryptdlg win32dll)
15 target_link_libraries(cryptdlg wine)
16
17 add_importlibs(cryptdlg
18 advapi32
19 user32
20 crypt32
21 cryptui
22 wintrust
23 msvcrt
24 kernel32
25 ntdll)
26
27 add_cd_file(TARGET cryptdlg DESTINATION reactos/system32 FOR all)