[SHELL32] CDrivesFolder: Implement the eject and disconnect menu items. CORE-13841
[reactos.git] / dll / win32 / msxml2 / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x601)
4
5 add_definitions(
6 -D__WINESRC__
7 -D_WINE)
8
9 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
10 spec2def(msxml2.dll msxml2.spec)
11 add_typelib(msxml2_tlb.idl)
12
13 list(APPEND SOURCE
14 main.c
15 ${CMAKE_CURRENT_BINARY_DIR}/msxml2.def)
16
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)