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