mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 09:09:53 +00:00
34134f4cfa
- More work on the missing modules. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=49325
22 lines
530 B
CMake
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)
|