diff options
| author | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-16 19:46:09 +0000 |
|---|---|---|
| committer | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-17 20:54:37 +0000 |
| commit | 80866c01c86863da6a43a3d40fb1c980325baf88 (patch) | |
| tree | b262058caf8170f2c7090574e2811a1a427dc9a5 | |
| parent | [meson-build] display (diff) | |
| download | inkscape-80866c01c86863da6a43a3d40fb1c980325baf88.tar.gz inkscape-80866c01c86863da6a43a3d40fb1c980325baf88.zip | |
[meson-build] xml
| -rw-r--r-- | meson.build | 3 | ||||
| -rw-r--r-- | src/meson.build | 2 | ||||
| -rw-r--r-- | src/xml/meson.build | 64 |
3 files changed, 67 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 765632fad..253eda82d 100644 --- a/meson.build +++ b/meson.build @@ -87,7 +87,8 @@ common_deps = [ libinkgc_dep, lib2geom_dep, libspobject_dep, - libhelper_dep + libhelper_dep, + libxml_dep ] inkscape_deps = [ diff --git a/src/meson.build b/src/meson.build index af4bcccd2..eadb12de8 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,7 +9,6 @@ #add_subdirectory(trace) #add_subdirectory(util) #add_subdirectory(widgets) -#add_subdirectory(xml) # Directories containing lists files that describe building internal libraries #add_subdirectory(libavoid) @@ -27,6 +26,7 @@ subdir('libnrtype') subdir('object') subdir('ui') subdir('display') +subdir('xml') srcdir_sources = files([ 'attribute-rel-css.cpp', diff --git a/src/xml/meson.build b/src/xml/meson.build new file mode 100644 index 000000000..4aa41e596 --- /dev/null +++ b/src/xml/meson.build @@ -0,0 +1,64 @@ +xml_sources = files([ + 'composite-node-observer.cpp', + 'croco-node-iface.cpp', + 'event.cpp', + 'log-builder.cpp', + 'node-fns.cpp', + 'quote.cpp', + 'repr.cpp', + 'repr-css.cpp', + 'repr-io.cpp', + 'repr-sorting.cpp', + 'repr-util.cpp', + 'simple-document.cpp', + 'simple-node.cpp', + 'subtree.cpp', + 'helper-observer.cpp', + 'rebase-hrefs.cpp' +]) + +xml_headers = files([ + 'attribute-record.h', + 'comment-node.h', + 'composite-node-observer.h', + 'croco-node-iface.h', + 'document.h', + 'element-node.h', + 'event-fns.h', + 'event.h', + 'helper-observer.h', + 'invalid-operation-exception.h', + 'log-builder.h', + 'node-event-vector.h', + 'node-fns.h', + 'node-iterators.h', + 'node-observer.h', + 'node.h', + 'pi-node.h', + 'quote-test.h', + 'quote.h', + 'rebase-hrefs-test.h', + 'rebase-hrefs.h', + 'repr-action-test.h', + 'repr-sorting.h', + 'repr.h', + 'simple-document.h', + 'simple-node.h', + 'sp-css-attr.h', + 'subtree.h', + 'text-node.h' +]) + +xml_deps = [ + glib_dep, + glibmm_dep, + xml2_dep +] + +lib_xml = static_library('xml', + sources: [xml_sources, + xml_headers], + dependencies: xml_deps, + include_directories: [srcinc, confinc]) + +libxml_dep = declare_dependency(link_with : lib_xml) |
