2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x601)
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
10 spec2def(msxml2.dll msxml2.spec)
11 add_typelib(msxml2_tlb.idl)
15 ${CMAKE_CURRENT_BINARY_DIR}/msxml2.def)
17 add_library(msxml2 SHARED ${SOURCE} msxml2.rc)
18 set_module_type(msxml2 win32dll)
19 set_source_files_properties(msxml2.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml2_tlb.tlb)
20 target_link_libraries(msxml2 wine)
21 add_importlibs(msxml2 msxml3 msvcrt kernel32)
22 add_dependencies(msxml2 stdole2)
23 add_cd_file(TARGET msxml2 DESTINATION reactos/system32 FOR all)