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