1 2add_definitions( 3 -D__WINESRC__ 4 -D_WINE) 5 6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 7spec2def(cryptui.dll cryptui.spec ADD_IMPORTLIB) 8 9list(APPEND SOURCE 10 main.c 11 ${CMAKE_CURRENT_BINARY_DIR}/cryptui_stubs.c 12 ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def) 13 14add_library(cryptui MODULE ${SOURCE} cryptui.rc) 15set_module_type(cryptui win32dll) 16target_link_libraries(cryptui uuid wine) 17add_delay_importlibs(cryptui urlmon wintrust) 18add_importlibs(cryptui user32 ole32 crypt32 gdi32 advapi32 comctl32 comdlg32 msvcrt kernel32 ntdll) 19add_cd_file(TARGET cryptui DESTINATION reactos/system32 FOR all) 20