1c2c66affSColin Finck 2c2c66affSColin Finckadd_definitions( 3c2c66affSColin Finck -D__WINESRC__ 4*53d808d2SHermès Bélusca-Maïto -D_WINE 5*53d808d2SHermès Bélusca-Maïto -D__ROS_LONG64__) 6c2c66affSColin Finck 7c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 8c2c66affSColin Finckspec2def(cryptui.dll cryptui.spec ADD_IMPORTLIB) 9c2c66affSColin Finck 10c2c66affSColin Fincklist(APPEND SOURCE 11c2c66affSColin Finck main.c 12c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/cryptui_stubs.c 13c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def) 14c2c66affSColin Finck 1523373acbSJérôme Gardouadd_library(cryptui MODULE ${SOURCE} cryptui.rc) 16c2c66affSColin Finckset_module_type(cryptui win32dll) 171de09c47STimo Kreuzertarget_link_libraries(cryptui uuid wine oldnames) 18c2c66affSColin Finckadd_delay_importlibs(cryptui urlmon wintrust) 19c2c66affSColin Finckadd_importlibs(cryptui user32 ole32 crypt32 gdi32 advapi32 comctl32 comdlg32 msvcrt kernel32 ntdll) 20c2c66affSColin Finckadd_cd_file(TARGET cryptui DESTINATION reactos/system32 FOR all) 21