2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(pstorec.dll pstorec.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
pstorec.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
|
|
|
|
|
2013-09-26 14:07:55 +00:00
|
|
|
add_typelib(pstorec_tlb.idl)
|
2012-01-03 00:17:18 +00:00
|
|
|
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(pstorec MODULE ${SOURCE} rsrc.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(pstorec win32dll)
|
|
|
|
target_link_libraries(pstorec uuid wine)
|
|
|
|
add_importlibs(pstorec msvcrt kernel32 ntdll)
|
2012-01-03 00:17:18 +00:00
|
|
|
add_dependencies(pstorec stdole2)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET pstorec DESTINATION reactos/system32 FOR all)
|