2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
set_rc_compiler()
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(bcrypt.dll bcrypt.spec)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
list(APPEND SOURCE
|
2010-10-10 22:58:42 +00:00
|
|
|
bcrypt_main.c
|
2010-10-30 16:08:19 +00:00
|
|
|
version.rc
|
2011-01-31 14:20:53 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/bcrypt_stubs.c
|
2010-10-30 16:08:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
add_library(bcrypt SHARED ${SOURCE})
|
2010-10-10 22:58:42 +00:00
|
|
|
set_module_type(bcrypt win32dll)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
target_link_libraries(bcrypt wine)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
2010-11-27 00:36:28 +00:00
|
|
|
add_importlibs(bcrypt msvcrt kernel32 ntdll)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(bcrypt 1)
|