summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-16 03:33:29 +0000
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-17 20:54:37 +0000
commit70e9f519b4482a9ba83e67f2d0ea8fbf50647c09 (patch)
tree9c2bf22813a78eac0a006351cd7fe6c247adfeb3 /src/2geom
parent[meson-build] declaring more libnrtype and libinkgc dependencies (diff)
downloadinkscape-70e9f519b4482a9ba83e67f2d0ea8fbf50647c09.tar.gz
inkscape-70e9f519b4482a9ba83e67f2d0ea8fbf50647c09.zip
[meson-build] 2geom
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/meson.build145
1 files changed, 145 insertions, 0 deletions
diff --git a/src/2geom/meson.build b/src/2geom/meson.build
new file mode 100644
index 000000000..1eb1c9cec
--- /dev/null
+++ b/src/2geom/meson.build
@@ -0,0 +1,145 @@
+# TODO:
+# Override error flag just for this folder
+# "-Wno-error=deprecated-declarations"
+
+lib_2geom_sources = files([
+ 'affine.cpp',
+ 'basic-intersection.cpp',
+ 'bezier.cpp',
+ 'bezier-clipping.cpp',
+ 'bezier-curve.cpp',
+ 'bezier-utils.cpp',
+ 'cairo-path-sink.cpp',
+ 'circle.cpp',
+# conic_section_clipper_impl.cpp
+# conicsec.cpp
+ 'convex-hull.cpp',
+ 'coord.cpp',
+ 'crossing.cpp',
+ 'curve.cpp',
+ 'd2-sbasis.cpp',
+ 'ellipse.cpp',
+ 'elliptical-arc.cpp',
+ 'elliptical-arc-from-sbasis.cpp',
+ 'geom.cpp',
+ 'intersection-graph.cpp',
+ 'line.cpp',
+ 'nearest-time.cpp',
+ 'numeric/matrix.cpp',
+ 'path-intersection.cpp',
+ 'path-sink.cpp',
+ 'path.cpp',
+ 'pathvector.cpp',
+ 'piecewise.cpp',
+ 'point.cpp',
+ 'polynomial.cpp',
+ 'rect.cpp',
+# recursive-bezier-intersection.cpp
+ 'sbasis-2d.cpp',
+ 'sbasis-geometric.cpp',
+ 'sbasis-math.cpp',
+ 'sbasis-poly.cpp',
+ 'sbasis-roots.cpp',
+ 'sbasis-to-bezier.cpp',
+ 'sbasis.cpp',
+ 'solve-bezier.cpp',
+ 'solve-bezier-one-d.cpp',
+ 'solve-bezier-parametric.cpp',
+ 'svg-path-parser.cpp',
+ 'svg-path-writer.cpp',
+ 'sweep-bounds.cpp',
+ 'toposweep.cpp',
+ 'transforms.cpp',
+ 'utils.cpp'
+])
+
+lib_2geom_headers = files([
+ '2geom.h',
+ 'affine.h',
+ 'angle.h',
+ 'basic-intersection.h',
+ 'bezier-curve.h',
+ 'bezier-to-sbasis.h',
+ 'bezier-utils.h',
+ 'bezier.h',
+ 'cairo-path-sink.h',
+ 'choose.h',
+ 'circle.h',
+ 'circulator.h',
+ 'concepts.h',
+ 'conic_section_clipper.h',
+ 'conic_section_clipper_cr.h',
+ 'conic_section_clipper_impl.h',
+ 'conicsec.h',
+ 'convex-hull.h',
+ 'coord.h',
+ 'crossing.h',
+ 'curve.h',
+ 'curves.h',
+ 'd2.h',
+ 'ellipse.h',
+ 'elliptical-arc.h',
+ 'exception.h',
+ 'forward.h',
+ 'generic-interval.h',
+ 'generic-rect.h',
+ 'geom.h',
+ 'int-interval.h',
+ 'int-point.h',
+ 'int-rect.h',
+ 'intersection-graph.h',
+ 'intersection.h',
+ 'interval.h',
+ 'line.h',
+ 'linear.h',
+ 'math-utils.h',
+ 'nearest-time.h',
+ 'ord.h',
+ 'path-intersection.h',
+ 'path-sink.h',
+ 'path.h',
+ 'pathvector.h',
+ 'piecewise.h',
+ 'point.h',
+ 'polynomial.h',
+ 'ray.h',
+ 'rect.h',
+ 'sbasis-2d.h',
+ 'sbasis-curve.h',
+ 'sbasis-geometric.h',
+ 'sbasis-math.h',
+ 'sbasis-poly.h',
+ 'sbasis-to-bezier.h',
+ 'sbasis.h',
+ 'solver.h',
+ 'svg-path-parser.h',
+ 'svg-path-writer.h',
+ 'sweep-bounds.h',
+ 'sweeper.h',
+ 'toposweep.h',
+ 'transforms.h',
+ 'utils.h',
+ 'numeric/fitting-model.h',
+ 'numeric/fitting-tool.h',
+ 'numeric/linear_system.h',
+ 'numeric/matrix.h',
+ 'numeric/symmetric-matrix-fs-operation.h',
+ 'numeric/symmetric-matrix-fs-trace.h',
+ 'numeric/symmetric-matrix-fs.h',
+ 'numeric/vector.h'
+])
+
+lib_2geom_deps = [
+ cairo_dep,
+ gsl_dep
+]
+
+lib2geom = static_library('2geom',
+ sources: [lib_2geom_sources,
+ lib_2geom_headers],
+ dependencies: lib_2geom_deps,
+ include_directories: [srcinc, confinc],
+ c_args: common_cflags,
+ link_args: common_ldflags)
+
+lib2geom_dep = declare_dependency(link_with : lib2geom)