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