fec7b3aa5d772e8f0703ca0bc42d97b453a5323c
[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)
20 add_livecd_target(bcrypt reactos/system32)