[CMAKE]
[reactos.git] / dll / win32 / pstorec / CMakeLists.txt
1
2 add_typelib(pstorec_tlb pstorec_tlb.idl)
3 add_dependencies(pstorec_tlb stdole2)
4
5 add_definitions(-D__WINESRC__)
6
7 set_rc_compiler()
8 spec2def(pstorec.dll pstorec.spec)
9
10 list(APPEND SOURCE
11 pstorec.c
12 rsrc.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
15
16 add_library(pstorec SHARED ${SOURCE})
17
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)