[CMAKE]
[reactos.git] / reactos / dll / win32 / pstorec / CMakeLists.txt
1
2 add_typelib(pstorec_tlb.idl)
3 add_definitions(-D__WINESRC__)
4 spec2def(pstorec.dll pstorec.spec)
5
6 list(APPEND SOURCE
7 pstorec.c
8 rsrc.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
11
12 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
13 add_library(pstorec SHARED ${SOURCE})
14 set_module_type(pstorec win32dll)
15 target_link_libraries(pstorec uuid wine)
16 add_importlibs(pstorec msvcrt kernel32 ntdll)
17 # pstorec_tlb.tlb needs stdole2.tlb
18 add_dependencies(pstorec stdole2)
19 add_cd_file(TARGET pstorec DESTINATION reactos/system32 FOR all)