reactos/dll/win32/pstorec/CMakeLists.txt
Amine Khaldi 34134f4cfa [CMAKE]
- More work on the missing modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49325
2010-10-28 11:33:02 +00:00

22 lines
530 B
CMake

ADD_TYPELIB(pstorec_tlb pstorec_tlb.idl)
add_dependencies(pstorec_tlb stdole2)
add_definitions(-D__WINESRC__)
spec2def(pstorec ${CMAKE_CURRENT_SOURCE_DIR}/pstorec.spec ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
add_library(pstorec SHARED pstorec.c rsrc.rc)
set_module_type(pstorec win32dll)
target_link_libraries(pstorec
${CMAKE_CURRENT_BINARY_DIR}/pstorec.def
uuid
wine)
add_importlibs(pstorec msvcrt kernel32 ntdll)
add_dependencies(pstorec pstorec_tlb pstorec_def)
add_livecd_target(pstorec reactos/system32)