mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
b02b04fc53
- More work on the dlls. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=49105
19 lines
447 B
CMake
19 lines
447 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(bcrypt ${CMAKE_CURRENT_SOURCE_DIR}/bcrypt.spec ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
|
|
|
|
add_library(bcrypt SHARED
|
|
bcrypt_main.c
|
|
version.rc)
|
|
|
|
set_module_type(bcrypt win32dll)
|
|
|
|
target_link_libraries(bcrypt
|
|
${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def
|
|
wine)
|
|
|
|
add_importlibs(bcrypt kernel32 ntdll)
|
|
|
|
add_dependencies(bcrypt bcrypt_def)
|