blob: 0a2441ea8939c573d6cffbdb8e5c660d95182edb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(libs-poco-XML)
target_compile_options(libs-poco-XML PRIVATE
-DHAVE_EXPAT_CONFIG_H
-DPOCO_ENABLE_CPP11
-DPOCO_ENABLE_CPP14
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DXML_DTD
-DXML_NS
-DPOCO_OS_FAMILY_UNIX
-Wno-everything
)
target_include_directories(libs-poco-XML PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/expat
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
)
target_include_directories(libs-poco-XML PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src
)
target_link_libraries(libs-poco-XML PUBLIC
contrib-libs-cxxsupp
contrib-libs-expat
libs-poco-Foundation
)
target_sources(libs-poco-XML PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractContainerNode.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractNode.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attr.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttrMap.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attributes.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttributesImpl.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CDATASection.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CharacterData.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ChildNodesList.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Comment.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ContentHandler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMBuilder.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMException.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMImplementation.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMObject.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMParser.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMSerializer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDHandler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDMap.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DeclHandler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DefaultHandler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Document.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentEvent.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentFragment.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentType.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Element.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ElementsByTagNameList.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Entity.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityReference.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolver.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolverImpl.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ErrorHandler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Event.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventDispatcher.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventException.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventListener.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventTarget.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/InputSource.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LexicalHandler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Locator.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LocatorImpl.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/MutationEvent.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Name.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamePool.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamedNodeMap.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceStrategy.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceSupport.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Node.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeAppender.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeFilter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeIterator.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeList.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Notation.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ParserEngine.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ProcessingInstruction.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/QName.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXException.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXParser.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Text.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/TreeWalker.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ValueTraits.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/WhitespaceFilter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLException.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilterImpl.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLReader.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParser.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParserException.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLString.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLWriter.cpp
)
|