1 2add_definitions(-D__WINESRC__) 3 4include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 5 6spec2def(cryptdll.dll cryptdll.spec) 7 8list(APPEND SOURCE 9 cryptdll.c 10 stubs.c 11 ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def) 12 13add_library(cryptdll SHARED ${SOURCE}) 14 15set_module_type(cryptdll win32dll) 16target_link_libraries(cryptdll wine) 17add_importlibs(cryptdll advapi32 msvcrt kernel32 ntdll) 18add_cd_file(TARGET cryptdll DESTINATION reactos/system32 FOR all) 19