2 add_definitions(-D__WINESRC__)
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6 spec2def(cryptdll ${CMAKE_CURRENT_SOURCE_DIR}/cryptdll.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
8 add_library(cryptdll SHARED cryptdll.c)
10 set_module_type(cryptdll win32dll)
12 target_link_libraries(cryptdll
13 ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def
16 add_importlibs(cryptdll kernel32 ntdll)
17 add_dependencies(cryptdll cryptdll_def)
18 add_livecd_target(cryptdll reactos/system32)