e41105ab0254de9b7b541b3f1138184e43bf8725
[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 spec2def(pstorec ${CMAKE_CURRENT_SOURCE_DIR}/pstorec.spec ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
8
9 add_library(pstorec SHARED pstorec.c rsrc.rc)
10
11 set_module_type(pstorec win32dll)
12
13 target_link_libraries(pstorec
14 ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def
15 uuid
16 wine)
17
18 add_importlibs(pstorec msvcrt kernel32 ntdll)
19
20 add_dependencies(pstorec pstorec_tlb pstorec_def)
21 add_cab_target(pstorec 1)