summaryrefslogtreecommitdiffstats
path: root/xmlserializer
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer')
-rw-r--r--xmlserializer/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/xmlserializer/CMakeLists.txt b/xmlserializer/CMakeLists.txt
new file mode 100644
index 0000000..052ca2e
--- /dev/null
+++ b/xmlserializer/CMakeLists.txt
@@ -0,0 +1,16 @@
+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})