2 add_typelib(pstorec_tlb pstorec_tlb.idl)
3 add_dependencies(pstorec_tlb stdole2)
5 add_definitions(-D__WINESRC__)
8 spec2def(pstorec.dll pstorec.spec)
13 ${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
16 add_library(pstorec SHARED ${SOURCE})
18 set_module_type(pstorec win32dll)
19 target_link_libraries(pstorec uuid wine)
20 add_importlibs(pstorec msvcrt kernel32 ntdll)
21 add_dependencies(pstorec pstorec_tlb)
22 add_cab_target(pstorec 1)