[MSI_WINETEST] Fix build with CMake 3.9.0 and higher (attempt #2)
[reactos.git] / dll / win32 / mshtml.tlb / CMakeLists.txt
1
2 add_typelib(mshtml_tlb.idl)
3 add_definitions(-D__WINESRC__)
4 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
5 add_library(mshtml.tlb MODULE rsrc.rc)
6
7 list(APPEND mshtml_tlb_rc_deps
8 ${CMAKE_CURRENT_BINARY_DIR}/mshtml_tlb.tlb
9 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml_tlb.rgs)
10
11 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_tlb_rc_deps}")
12 set_module_type(mshtml.tlb module)
13 set_target_properties(mshtml.tlb PROPERTIES SUFFIX "")
14 add_dependencies(mshtml.tlb stdole2)
15 add_cd_file(TARGET mshtml.tlb DESTINATION reactos/system32 FOR all)