Sync up with trunk r61578.
[reactos.git] / dll / win32 / stdole2.tlb / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 add_typelib(std_ole_v2.idl)
5 spec2def(stdole2.tlb stdole2.tlb.spec)
6
7 list(APPEND SOURCE
8 rsrc.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/stdole2.def)
10
11 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/std_ole_v2.tlb)
12 add_library(stdole2.tlb SHARED ${SOURCE})
13 set_module_type(stdole2.tlb module)
14 set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
15 add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32 FOR all)