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