2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_WINE)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(cryptui.dll cryptui.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/cryptui_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
|
|
|
|
|
2013-09-16 14:05:55 +00:00
|
|
|
add_library(cryptui SHARED ${SOURCE} cryptui.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(cryptui win32dll)
|
|
|
|
target_link_libraries(cryptui uuid wine)
|
2011-09-04 00:52:28 +00:00
|
|
|
add_delay_importlibs(cryptui urlmon wintrust)
|
2013-09-16 14:05:55 +00:00
|
|
|
add_importlibs(cryptui user32 ole32 crypt32 gdi32 advapi32 comctl32 comdlg32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET cryptui DESTINATION reactos/system32 FOR all)
|