b3b7a46dfc1e678bbda58dd86ab824fc03ecb4e8
[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.def)
14
15 add_library(pstorec SHARED ${SOURCE})
16
17 set_module_type(pstorec win32dll)
18 target_link_libraries(pstorec uuid wine)
19 add_importlibs(pstorec msvcrt kernel32 ntdll)
20 add_dependencies(pstorec pstorec_tlb)
21 add_cab_target(pstorec 1)