2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5 add_typelib(std_ole_v2 std_ole_v2.idl)
7 spec2def(stdole2.tlb stdole2.tlb.spec)
11 ${CMAKE_CURRENT_BINARY_DIR}/stdole2.def)
13 add_library(stdole2.tlb SHARED ${SOURCE})
15 set_entrypoint(stdole2.tlb 0)
16 set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
17 add_dependencies(stdole2.tlb std_ole_v2)
18 add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32 FOR all)