diff options
| author | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-16 23:30:46 +0000 |
|---|---|---|
| committer | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-17 20:54:37 +0000 |
| commit | 95e28934356553f6535d2893d2b7569af0460cdb (patch) | |
| tree | 165a660539c48f620848786fbb305f131ff01abf /src | |
| parent | [meson-build] libutil (diff) | |
| download | inkscape-95e28934356553f6535d2893d2b7569af0460cdb.tar.gz inkscape-95e28934356553f6535d2893d2b7569af0460cdb.zip | |
[meson-build] libio + zlib
Diffstat (limited to 'src')
| -rw-r--r-- | src/io/meson.build | 41 | ||||
| -rw-r--r-- | src/meson.build | 2 | ||||
| -rw-r--r-- | src/xml/meson.build | 3 |
3 files changed, 44 insertions, 2 deletions
diff --git a/src/io/meson.build b/src/io/meson.build new file mode 100644 index 000000000..a09ac1f03 --- /dev/null +++ b/src/io/meson.build @@ -0,0 +1,41 @@ +libio_sources = files([ + 'base64stream.cpp', + 'bufferstream.cpp', + 'gzipstream.cpp', + 'inkscapestream.cpp', + 'resource.cpp', + 'stringstream.cpp', + 'sys.cpp', + 'http.cpp', + 'uristream.cpp', + 'xsltstream.cpp' +]) + +libio_headers = files([ + 'base64stream.h', + 'bufferstream.h', + 'gzipstream.h', + 'inkscapestream.h', + 'resource.h', + 'stringstream.h', + 'sys.h', + 'http.h', + 'uristream.h', + 'xsltstream.h' +]) + +libio_deps = [ + soup_dep, + glibmm_dep, + gtk_dep, + xml2_dep, + zlib_dep +] + +libio = static_library('libio', + sources: [libio_sources, + libio_headers], + dependencies: libio_deps, + include_directories: [srcinc, confinc]) + +libio_dep = declare_dependency(link_with : libio) diff --git a/src/meson.build b/src/meson.build index feb480c8c..67f0a7787 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,7 +1,6 @@ # All folders for internal inkscape # these call add_inkscape_source #add_subdirectory(extension) -#add_subdirectory(io) #add_subdirectory(trace) #add_subdirectory(widgets) @@ -11,6 +10,7 @@ #add_subdirectory(libdepixelize) subdir('debug') +subdir('io') subdir('util') subdir('svg') subdir('live_effects') diff --git a/src/xml/meson.build b/src/xml/meson.build index 33e5d9c11..a3187a3ad 100644 --- a/src/xml/meson.build +++ b/src/xml/meson.build @@ -54,7 +54,8 @@ xml_deps = [ glibmm_dep, xml2_dep, libdebug_dep, - libutil_dep + libutil_dep, + libio_dep ] lib_xml = static_library('xml', |
