1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4add_typelib(std_ole_v1.idl) 5spec2def(stdole32.tlb stdole32.tlb.spec) 6 7list(APPEND SOURCE 8 rsrc.rc 9 ${CMAKE_CURRENT_BINARY_DIR}/stdole32.def) 10 11set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/std_ole_v1.tlb) 12add_library(stdole32.tlb MODULE ${SOURCE}) 13set_module_type(stdole32.tlb module) 14set_target_properties(stdole32.tlb PROPERTIES SUFFIX "") 15add_cd_file(TARGET stdole32.tlb DESTINATION reactos/system32 FOR all) 16