[CMAKE]
[reactos.git] / dll / win32 / cryptui / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_WINE)
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(cryptui ${CMAKE_CURRENT_SOURCE_DIR}/cryptui.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
7
8 add_library(cryptui SHARED main.c cryptui.rc)
9
10 set_module_type(cryptui win32dll)
11
12 target_link_libraries(cryptui
13 ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def
14 uuid
15 wine)
16
17 add_importlibs(cryptui
18 user32
19 ole32
20 crypt32
21 gdi32
22 advapi32
23 urlmon
24 wintrust
25 comctl32
26 comdlg32
27 kernel32
28 ntdll)
29
30 add_dependencies(cryptui cryptui_def)
31 add_cab_target(cryptui 1)