reactos/dll/win32/pstorec/CMakeLists.txt
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

19 lines
633 B
CMake

add_definitions(-D__WINESRC__)
spec2def(pstorec.dll pstorec.spec)
list(APPEND SOURCE
pstorec.c
${CMAKE_CURRENT_BINARY_DIR}/pstorec_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
add_typelib(pstorec_tlb.idl)
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
add_library(pstorec SHARED ${SOURCE} rsrc.rc)
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)