9 add_compile_flags("/FIwine/typeof.h /FImsvc.h")
12 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
13 spec2def(msxml3.dll msxml3.spec ADD_IMPORTLIB)
14 add_typelib(msxml3_v1.idl)
51 ${CMAKE_CURRENT_BINARY_DIR}/msxml3_stubs.c
52 ${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
54 list(APPEND msxml3_rc_deps
55 ${CMAKE_CURRENT_SOURCE_DIR}/msxml3.manifest
56 ${CMAKE_CURRENT_SOURCE_DIR}/msxml3_v1.rgs
57 ${CMAKE_CURRENT_SOURCE_DIR}/xmlparser.rgs
58 ${CMAKE_CURRENT_BINARY_DIR}/msxml3_v1.tlb)
60 set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${msxml3_rc_deps}")
61 add_library(msxml3 SHARED ${SOURCE} version.rc)
62 add_idl_headers(xmlparser_idlheader xmlparser.idl)
63 set_module_type(msxml3 win32dll)
64 target_link_libraries(msxml3 libxml2 uuid wine)
65 add_importlibs(msxml3 urlmon ws2_32 shlwapi oleaut32 ole32 user32 msvcrt kernel32 ntdll)
66 add_dependencies(msxml3 xmlparser_idlheader stdole2) # msxml3_v1.tlb needs stdole2.tlb
67 add_cd_file(TARGET msxml3 DESTINATION reactos/system32 FOR all)