Merge the following revisions from kernel-fun branch:
[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)
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)