2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x601)
12 add_compile_flags("/FIwine/typeof.h /FImsvc.h")
15 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
17 spec2def(msxml3.dll msxml3.spec ADD_IMPORTLIB)
19 add_typelib(msxml3_v1.idl)
56 ${CMAKE_CURRENT_BINARY_DIR}/msxml3_stubs.c
57 ${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
59 add_library(msxml3 SHARED ${SOURCE} version.rc)
62 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
63 #allow_warnings(msxml3)
64 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
67 add_idl_headers(xmlparser_idlheader xmlparser.idl)
68 add_dependencies(msxml3 xmlparser_idlheader)
70 set_module_type(msxml3 win32dll)
71 set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml3_v1.tlb)
72 target_link_libraries(msxml3 libxml2 uuid wine wineldr)
74 add_importlibs(msxml3 urlmon wininet ws2_32 comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32 msvcrt kernel32 ntdll)
76 # msxml3_v1.tlb needs stdole2.tlb
77 add_dependencies(msxml3 stdole2)
79 add_cd_file(TARGET msxml3 DESTINATION reactos/system32 FOR all)