summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-16 20:54:03 +0000
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-17 20:54:37 +0000
commit194e9312edfedb656319980ac33a075bab420e1f (patch)
tree1b614d9da9634c33a18694d329996d3eff866e95 /src
parent[meson-build] libcola (diff)
downloadinkscape-194e9312edfedb656319980ac33a075bab420e1f.tar.gz
inkscape-194e9312edfedb656319980ac33a075bab420e1f.zip
[meson-build] libavoid
Diffstat (limited to 'src')
-rw-r--r--src/libavoid/meson.build66
-rw-r--r--src/meson.build3
2 files changed, 68 insertions, 1 deletions
diff --git a/src/libavoid/meson.build b/src/libavoid/meson.build
new file mode 100644
index 000000000..f7e64e267
--- /dev/null
+++ b/src/libavoid/meson.build
@@ -0,0 +1,66 @@
+libavoid_sources = files([
+ 'actioninfo.cpp',
+ 'connectionpin.cpp',
+ 'connector.cpp',
+ 'connend.cpp',
+ 'geometry.cpp',
+ 'geomtypes.cpp',
+ 'graph.cpp',
+ 'hyperedge.cpp',
+ 'hyperedgeimprover.cpp',
+ 'hyperedgetree.cpp',
+ 'junction.cpp',
+ 'makepath.cpp',
+ 'mtst.cpp',
+ 'obstacle.cpp',
+ 'orthogonal.cpp',
+ 'router.cpp',
+ 'scanline.cpp',
+ 'shape.cpp',
+ 'timer.cpp',
+ 'vertices.cpp',
+ 'viscluster.cpp',
+ 'visibility.cpp',
+ 'vpsc.cpp'
+])
+
+libavoid_headers = files([
+ 'actioninfo.h',
+ 'assertions.h',
+ 'connectionpin.h',
+ 'connector.h',
+ 'connend.h',
+ 'debug.h',
+ 'geometry.h',
+ 'geomtypes.h',
+ 'graph.h',
+ 'hyperedge.h',
+ 'hyperedgeimprover.h',
+ 'hyperedgetree.h',
+ 'junction.h',
+ 'libavoid.h',
+ 'makepath.h',
+ 'mtst.h',
+ 'obstacle.h',
+ 'orthogonal.h',
+ 'router.h',
+ 'scanline.h',
+ 'shape.h',
+ 'timer.h',
+ 'vertices.h',
+ 'viscluster.h',
+ 'visibility.h',
+ 'vpsc.h'
+])
+
+libavoid_deps = [
+
+]
+
+libavoid = static_library('libavoid',
+ sources: [libavoid_sources,
+ libavoid_headers],
+ dependencies: libavoid_deps,
+ include_directories: [srcinc, confinc])
+
+libavoid_dep = declare_dependency(link_with : libavoid)
diff --git a/src/meson.build b/src/meson.build
index 573165485..c9347d277 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -17,11 +17,12 @@
#add_subdirectory(libvpsc)
#add_subdirectory(libdepixelize)
+subdir('libavoid')
subdir('libcola')
subdir('2geom')
subdir('helper')
subdir('inkgc')
-subdir('livarot') #libnrtype depends on livarot, so here the order mathers
+subdir('livarot') #libnrtype depends on livarot, so here the order matters
subdir('libnrtype')
subdir('object')
subdir('ui')