[CMAKE]
[reactos.git] / dll / win32 / msxml3 / CMakeLists.txt
1
2 ADD_TYPELIB(msxml3_v1 msxml3_v1.idl)
3 add_dependencies(msxml3_v1 stdole2)
4
5 remove_definitions(-D_WIN32_WINNT=0x502)
6 add_definitions(-D_WIN32_WINNT=0x601)
7
8 add_definitions(
9 -D__WINESRC__
10 -D_WINE
11 -DLIBXML_STATIC
12 -D_DLL
13 -D__USE_CRTIMP)
14
15 if(MSVC)
16 add_definitions(/FIwine/typeof.h)
17 endif(MSVC)
18
19 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
20
21 spec2def(msxml3.dll msxml3.spec)
22
23 add_library(msxml3 SHARED
24 attribute.c
25 comment.c
26 domdoc.c
27 element.c
28 factory.c
29 main.c
30 httprequest.c
31 node.c
32 nodelist.c
33 nodemap.c
34 parseerror.c
35 pi.c
36 queryresult.c
37 regsvr.c
38 schema.c
39 text.c
40 uuid.c
41 xmldoc.c
42 xmlelem.c
43 saxreader.c
44 bsc.c
45 cdata.c
46 dispex.c
47 docfrag.c
48 domimpl.c
49 entityref.c
50 version.rc
51 ${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
52
53 set_module_type(msxml3 win32dll)
54
55 target_link_libraries(msxml3
56 libxml2
57 uuid
58 wine
59 wineldr)
60
61 add_importlibs(msxml3
62 msvcrt
63 urlmon
64 wininet
65 ws2_32
66 comctl32
67 shell32
68 shlwapi
69 cabinet
70 oleaut32
71 ole32
72 version
73 user32
74 gdi32
75 advapi32
76 kernel32
77 ntdll)
78
79 add_dependencies(msxml3 msxml3_v1)
80 add_cab_target(msxml3 1)