diff options
| author | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-16 04:44:35 +0000 |
|---|---|---|
| committer | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-17 20:54:37 +0000 |
| commit | c050cc68dbf3b38c22a58513707628e65686fef1 (patch) | |
| tree | 4efb446dbe1017c19c9613c054152c646ae4a2f5 /src | |
| parent | [meson-build] 2geom (diff) | |
| download | inkscape-c050cc68dbf3b38c22a58513707628e65686fef1.tar.gz inkscape-c050cc68dbf3b38c22a58513707628e65686fef1.zip | |
[meson-build] wip: sp-object, sp-marshal and lib_helper
Diffstat (limited to 'src')
| -rw-r--r-- | src/helper/meson.build | 58 | ||||
| -rw-r--r-- | src/meson.build | 2 | ||||
| -rw-r--r-- | src/object/meson.build | 198 |
3 files changed, 258 insertions, 0 deletions
diff --git a/src/helper/meson.build b/src/helper/meson.build new file mode 100644 index 000000000..ed0ed370f --- /dev/null +++ b/src/helper/meson.build @@ -0,0 +1,58 @@ +helper_sources = files([ + 'action.cpp', + 'action-context.cpp', + 'geom.cpp', + 'geom-nodetype.cpp', + 'geom-pathstroke.cpp', + 'geom-pathvectorsatellites.cpp', + 'geom-satellite.cpp', + 'gettext.cpp', + 'pixbuf-ops.cpp', + 'png-write.cpp', + 'stock-items.cpp', +#units-test.cpp', + 'window.cpp' +]) + +helper_headers = files([ + 'action.h', + 'action-context.h', + 'geom-curves.h', + 'geom-nodetype.h', + 'geom-pathstroke.h', + 'geom-pathvectorsatellites.h', + 'geom-satellite.h', + 'geom.h', + 'gettext.h', + 'mathfns.h', + 'pixbuf-ops.h', + 'png-write.h', + 'stock-items.h', + 'window.h' +]) + +marshallers = gnome.genmarshal('sp-marshal', +sources : 'sp-marshal.list', +extra_args : ['-UG_ENABLE_DEBUG', '--prototypes']) + +marshallers_c = marshallers[0] +marshallers_h = marshallers[1] + +helper_deps = [ + glibmm_dep, + cairomm_dep, + gtkmm_dep, + xml2_dep, + png_dep, + gobject_dep +] + +lib_helper = static_library('helper', + sources: [helper_sources, + helper_headers, + marshallers_c, + marshallers_h], + dependencies: helper_deps, + include_directories: [confinc, srcinc]) + +libhelper_dep = declare_dependency(link_with : lib_helper) diff --git a/src/meson.build b/src/meson.build index e1f0f978b..74b0b63f9 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,4 +1,6 @@ subdir('2geom') +subdir('helper') subdir('inkgc') subdir('libnrtype') +subdir('object') subdir('ui') diff --git a/src/object/meson.build b/src/object/meson.build new file mode 100644 index 000000000..ea472d2fc --- /dev/null +++ b/src/object/meson.build @@ -0,0 +1,198 @@ +spobject_sources = files([ + 'box3d-side.cpp', + 'box3d.cpp', + 'color-profile.cpp', + 'object-set.cpp', + 'persp3d-reference.cpp', + 'persp3d.cpp', + 'sp-anchor.cpp', + 'sp-clippath.cpp', + 'sp-conn-end-pair.cpp', + 'sp-conn-end.cpp', + 'sp-defs.cpp', + 'sp-desc.cpp', + 'sp-dimensions.cpp', + 'sp-ellipse.cpp', + 'sp-factory.cpp', + 'sp-filter-reference.cpp', + 'sp-filter.cpp', + 'sp-flowdiv.cpp', + 'sp-flowregion.cpp', + 'sp-flowtext.cpp', + 'sp-font-face.cpp', + 'sp-font.cpp', + 'sp-glyph-kerning.cpp', + 'sp-glyph.cpp', + 'sp-gradient-reference.cpp', + 'sp-gradient.cpp', + 'sp-guide.cpp', + 'sp-hatch-path.cpp', + 'sp-hatch.cpp', + 'sp-image.cpp', + 'sp-item-group.cpp', + 'sp-item-rm-unsatisfied-cns.cpp', + 'sp-item-transform.cpp', + 'sp-item-update-cns.cpp', + 'sp-item.cpp', + 'sp-line.cpp', + 'sp-linear-gradient.cpp', + 'sp-lpe-item.cpp', + 'sp-marker.cpp', + 'sp-mask.cpp', + 'sp-mesh-array.cpp', + 'sp-mesh-gradient.cpp', + 'sp-mesh-patch.cpp', + 'sp-mesh-row.cpp', + 'sp-metadata.cpp', + 'sp-missing-glyph.cpp', + 'sp-namedview.cpp', + 'sp-object-group.cpp', + 'sp-object.cpp', + 'sp-offset.cpp', + 'sp-paint-server.cpp', + 'sp-path.cpp', + 'sp-pattern.cpp', + 'sp-polygon.cpp', + 'sp-polyline.cpp', + 'sp-radial-gradient.cpp', + 'sp-rect.cpp', + 'sp-root.cpp', + 'sp-script.cpp', + 'sp-shape.cpp', + 'sp-solid-color.cpp', + 'sp-spiral.cpp', + 'sp-star.cpp', + 'sp-stop.cpp', + 'sp-string.cpp', + 'sp-style-elem.cpp', + 'sp-switch.cpp', + 'sp-symbol.cpp', + 'sp-tag-use-reference.cpp', + 'sp-tag-use.cpp', + 'sp-tag.cpp', + 'sp-text.cpp', + 'sp-title.cpp', + 'sp-tref-reference.cpp', + 'sp-tref.cpp', + 'sp-tspan.cpp', + 'sp-use-reference.cpp', + 'sp-use.cpp', + 'uri-references.cpp', + 'uri.cpp', + 'viewbox.cpp' +]) + +spobject_headers = files([ + 'box3d-side.h', + 'box3d.h', + 'color-profile.h', + 'object-set.h', + 'persp3d-reference.h', + 'persp3d.h', + 'sp-anchor.h', + 'sp-clippath.h', + 'sp-conn-end-pair.h', + 'sp-conn-end.h', + 'sp-defs.h', + 'sp-desc.h', + 'sp-dimensions.h', + 'sp-ellipse.h', + 'sp-factory.h', + 'sp-filter-reference.h', + 'sp-filter-units.h', + 'sp-filter.h', + 'sp-flowdiv.h', + 'sp-flowregion.h', + 'sp-flowtext.h', + 'sp-font-face.h', + 'sp-font.h', + 'sp-glyph-kerning.h', + 'sp-glyph.h', + 'sp-gradient-reference.h', + 'sp-gradient-spread.h', + 'sp-gradient-units.h', + 'sp-gradient-vector.h', + 'sp-gradient.h', + 'sp-guide.h', + 'sp-hatch-path.h', + 'sp-hatch.h', + 'sp-image.h', + 'sp-item-group.h', + 'sp-item-rm-unsatisfied-cns.h', + 'sp-item-transform.h', + 'sp-item-update-cns.h', + 'sp-item.h', + 'sp-line.h', + 'sp-linear-gradient.h', + 'sp-lpe-item.h', + 'sp-marker-loc.h', + 'sp-marker.h', + 'sp-mask.h', + 'sp-mesh-array.h', + 'sp-mesh-gradient.h', + 'sp-mesh-patch.h', + 'sp-mesh-row.h', + 'sp-metadata.h', + 'sp-missing-glyph.h', + 'sp-namedview.h', + 'sp-object-group.h', + 'sp-object.h', + 'sp-offset.h', + 'sp-paint-server-reference.h', + 'sp-paint-server.h', + 'sp-path.h', + 'sp-pattern.h', + 'sp-polygon.h', + 'sp-polyline.h', + 'sp-radial-gradient.h', + 'sp-rect.h', + 'sp-root.h', + 'sp-script.h', + 'sp-shape.h', + 'sp-solid-color.h', + 'sp-spiral.h', + 'sp-star.h', + 'sp-stop.h', + 'sp-string.h', + 'sp-style-elem.h', + 'sp-switch.h', + 'sp-symbol.h', + 'sp-tag.h', + 'sp-tag-use.h', + 'sp-tag-use-reference.h', + 'sp-text.h', + 'sp-textpath.h', + 'sp-title.h', + 'sp-tref-reference.h', + 'sp-tref.h', + 'sp-tspan.h', + 'sp-use-reference.h', + 'sp-use.h', + 'uri-references.h', + 'uri.h', + 'viewbox.h' +]) + +#subdir(filters) + +spobject_deps = [ + cairomm_dep, + glibmm_dep, + gtk_dep, + gtkmm_dep, + xml2_dep, + gdkmm_dep, + libhelper_dep +# gsl_dep +# spobject_filters_dep +] + +spobject = static_library('spobject', + sources: [spobject_sources, + spobject_headers], + dependencies: spobject_deps, + include_directories: [srcinc, confinc], + c_args: common_cflags, + link_args: common_ldflags) + +libspobject_dep = declare_dependency(link_with : spobject) |
