[CMAKE]
[reactos.git] / dll / win32 / bcrypt / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 set_rc_compiler()
6 spec2def(bcrypt.dll bcrypt.spec)
7
8 list(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
14 add_library(bcrypt SHARED ${SOURCE})
15 set_module_type(bcrypt win32dll)
16
17 target_link_libraries(bcrypt wine)
18
19 add_importlibs(bcrypt msvcrt kernel32 ntdll)
20
21 add_cd_file(TARGET bcrypt DESTINATION reactos/system32 FOR all)