c6e8501f387959cda5efa1b1ec26032feec70183
[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.def)
12
13 add_library(bcrypt SHARED ${SOURCE})
14 set_module_type(bcrypt win32dll)
15
16 target_link_libraries(bcrypt wine)
17
18 add_importlibs(bcrypt msvcrt kernel32 ntdll)
19
20 add_cab_target(bcrypt 1)