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