1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 4 5set_rc_compiler() 6spec2def(bcrypt.dll bcrypt.spec) 7 8list(APPEND SOURCE 9 bcrypt_main.c 10 version.rc 11 ${CMAKE_CURRENT_BINARY_DIR}/bcrypt_stubs.c 12 ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def) 13 14add_library(bcrypt SHARED ${SOURCE}) 15set_module_type(bcrypt win32dll) 16 17target_link_libraries(bcrypt wine) 18 19add_importlibs(bcrypt msvcrt kernel32 ntdll) 20 21add_cab_target(bcrypt 1) 22