reactos/dll/win32/pstorec/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

25 lines
659 B
CMake

add_typelib(pstorec_tlb.idl)
add_definitions(-D__WINESRC__)
set_rc_compiler()
spec2def(pstorec.dll pstorec.spec)
list(APPEND SOURCE
pstorec.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
add_library(pstorec SHARED ${SOURCE})
set_module_type(pstorec win32dll)
target_link_libraries(pstorec uuid wine)
add_importlibs(pstorec msvcrt kernel32 ntdll)
# pstorec_tlb.tlb needs stdole2.tlb
add_dependencies(pstorec stdole2)
add_cd_file(TARGET pstorec DESTINATION reactos/system32 FOR all)