blob: c4358b1a80de6101010b4842cd6b369b7c895ec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
add_library(xmlserializer SHARED
XmlElement.cpp
XmlSerializingContext.cpp
XmlDocSource.cpp
XmlDocSink.cpp
XmlMemoryDocSink.cpp
XmlMemoryDocSource.cpp
XmlStringDocSink.cpp
XmlFileDocSink.cpp
XmlFileDocSource.cpp
XmlStringDocSource.cpp)
include(FindLibXml2)
# TODO: check for the "XInclude" feature in libxml2
include_directories(${LIBXML2_INCLUDE_DIR})
target_link_libraries(xmlserializer ${LIBXML2_LIBRARIES})
install(TARGETS xmlserializer LIBRARY DESTINATION lib)
|