xref: /reactos/dll/win32/bcrypt/CMakeLists.txt (revision 58588b76)
1
2add_definitions(-D__WINESRC__)
3include_directories(
4    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
5    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/mbedtls)
6spec2def(bcrypt.dll bcrypt.spec ADD_IMPORTLIB)
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 MODULE ${SOURCE})
15set_module_type(bcrypt win32dll)
16target_link_libraries(bcrypt wine)
17add_importlibs(bcrypt mbedtls advapi32 msvcrt kernel32 ntdll)
18add_cd_file(TARGET bcrypt DESTINATION reactos/system32 FOR all)
19