3683b2bdbf4b4cbf3b1b62fdbd831d073c89726d
[reactos.git] / dll / win32 / bcrypt / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(bcrypt ${CMAKE_CURRENT_SOURCE_DIR}/bcrypt.spec ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
6
7 add_library(bcrypt SHARED
8 bcrypt_main.c
9 version.rc)
10
11 set_module_type(bcrypt win32dll)
12
13 target_link_libraries(bcrypt
14 ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def
15 wine)
16
17 add_importlibs(bcrypt kernel32 ntdll)
18
19 add_dependencies(bcrypt bcrypt_def)