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/helper | |
| 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/helper')
| -rw-r--r-- | src/helper/meson.build | 58 |
1 files changed, 58 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) |
