1bafe74ccfe0372fc2ee4e50d949a43f81e756bf
[reactos.git] / reactos / dll / win32 / bcrypt / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(bcrypt.dll bcrypt.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 bcrypt_main.c
8 version.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/bcrypt_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
11
12 add_library(bcrypt SHARED ${SOURCE})
13 set_module_type(bcrypt win32dll)
14 target_link_libraries(bcrypt wine)
15 add_importlibs(bcrypt advapi32 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET bcrypt DESTINATION reactos/system32 FOR all)