2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-03-08 14:49:52 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/mbedtls)
|
2016-03-01 12:27:13 +00:00
|
|
|
spec2def(bcrypt.dll bcrypt.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
bcrypt_main.c
|
|
|
|
version.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/bcrypt_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(bcrypt MODULE ${SOURCE})
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(bcrypt win32dll)
|
|
|
|
target_link_libraries(bcrypt wine)
|
2016-03-08 14:49:52 +00:00
|
|
|
add_importlibs(bcrypt mbedtls advapi32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET bcrypt DESTINATION reactos/system32 FOR all)
|