summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-16 21:46:49 +0000
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-17 20:54:37 +0000
commit42218b08849238b94f7ca2f981bf201a7b9c9ba1 (patch)
tree4b72a682f3a4e62c1a3951574bfce9d854172bd7 /src/svg
parent[meson-build] libdebug (diff)
downloadinkscape-42218b08849238b94f7ca2f981bf201a7b9c9ba1.tar.gz
inkscape-42218b08849238b94f7ca2f981bf201a7b9c9ba1.zip
[meson-build] libsvg
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/meson.build44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/svg/meson.build b/src/svg/meson.build
new file mode 100644
index 000000000..59243c89a
--- /dev/null
+++ b/src/svg/meson.build
@@ -0,0 +1,44 @@
+svg_sources = files([
+ 'css-ostringstream.cpp',
+ 'path-string.cpp',
+# 'sp-svg.def',
+ 'stringstream.cpp',
+ 'strip-trailing-zeros.cpp',
+ 'svg-affine.cpp',
+ 'svg-color.cpp',
+ 'svg-angle.cpp',
+ 'svg-length.cpp',
+ 'svg-path.cpp'
+# 'test-stubs.cpp'
+])
+
+svg_headers = files([
+ 'css-ostringstream-test.h',
+ 'css-ostringstream.h',
+ 'path-string.h',
+ 'stringstream-test.h',
+ 'stringstream.h',
+ 'strip-trailing-zeros.h',
+ 'svg-affine-test.h',
+ 'svg-color-test.h',
+ 'svg-color.h',
+ 'svg-icc-color.h',
+ 'svg-angle.h',
+ 'svg-length-test.h',
+ 'svg-length.h',
+ 'svg-path-geom-test.h',
+ 'svg.h'
+# 'test-stubs.h'
+])
+
+svg_deps = [
+ glibmm_dep
+]
+
+libsvg = static_library('libsvg',
+ sources: [svg_sources,
+ svg_headers],
+ dependencies: svg_deps,
+ include_directories: [srcinc, confinc])
+
+libsvg_dep = declare_dependency(link_with : libsvg)