reactos/dll/win32/bcrypt/CMakeLists.txt
Amine Khaldi b02b04fc53 [CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49105
2010-10-10 22:58:42 +00:00

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)