[FREELDR]
[reactos.git] / lib / 3rdparty / libxml2 / CMakeLists.txt
1
2 include_directories(
3 .
4 include)
5
6 add_definitions(
7 -D__MINGW32__
8 -DLIBXML_STATIC
9 -D_REENTRANT
10 -DHAVE_WIN32_THREADS
11 -D_MBCS
12 -D_WINDOWS
13 -DWIN32
14 -DHAVE_CONFIG_H
15 -D_DLL -D__USE_CRTIMP)
16
17 list(APPEND SOURCE
18 c14n.c
19 catalog.c
20 chvalid.c
21 debugXML.c
22 dict.c
23 DOCBparser.c
24 encoding.c
25 entities.c
26 error.c
27 globals.c
28 hash.c
29 HTMLparser.c
30 HTMLtree.c
31 legacy.c
32 list.c
33 nanoftp.c
34 nanohttp.c
35 parser.c
36 parserInternals.c
37 pattern.c
38 relaxng.c
39 SAX.c
40 SAX2.c
41 threads.c
42 tree.c
43 uri.c
44 valid.c
45 xinclude.c
46 xlink.c
47 xmlIO.c
48 xmlmemory.c
49 xmlreader.c
50 xmlregexp.c
51 xmlmodule.c
52 xmlsave.c
53 xmlschemas.c
54 xmlschemastypes.c
55 xmlunicode.c
56 xmlwriter.c
57 xpath.c
58 xpointer.c
59 xmlstring.c)
60
61 add_library(libxml2 ${SOURCE})
62 target_link_libraries(libxml2 oldnames)
63 add_dependencies(libxml2 psdk)