1 2remove_definitions(-D_WIN32_WINNT=0x502) 3add_definitions(-D_WIN32_WINNT=0x601) 4 5add_definitions( 6 -D__WINESRC__ 7 -D_WINE 8 -DCOM_NO_WINDOWS_H) 9 10include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 11spec2def(msxml6.dll msxml6.spec) 12add_typelib(msxml6_tlb.idl) 13 14list(APPEND SOURCE 15 main.c 16 ${CMAKE_CURRENT_BINARY_DIR}/msxml6.def) 17 18add_library(msxml6 SHARED ${SOURCE} rsrc.rc) 19set_module_type(msxml6 win32dll) 20set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml6_tlb.tlb) 21target_link_libraries(msxml6 wine) 22add_importlibs(msxml6 msxml3 msvcrt kernel32) 23add_dependencies(msxml6 stdole2) 24add_cd_file(TARGET msxml6 DESTINATION reactos/system32 FOR all) 25