diff options
author | Manatsawin Hanmongkolchai <[email protected]> | 2022-11-14 23:00:54 +0700 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-04-20 18:07:49 +0200 |
commit | faf2001f46509a7434fc10ee848ce1ce84255dcd (patch) | |
tree | 5987f3ddabfe7909fb2bd2fd5d038e6358220798 /src | |
parent | 06de02ac5acb699156401bcf48009a670f98033e (diff) | |
download | eom-faf2001f46509a7434fc10ee848ce1ce84255dcd.tar.bz2 eom-faf2001f46509a7434fc10ee848ce1ce84255dcd.tar.xz |
Add enum and thumbnailer build
Diffstat (limited to 'src')
-rw-r--r-- | src/meson.build | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/src/meson.build b/src/meson.build index 8c81e39..fe8522b 100644 --- a/src/meson.build +++ b/src/meson.build @@ -7,7 +7,7 @@ resources = gnome.compile_resources( marshal = gnome.genmarshal('eom-marshal', sources: ['eom-marshal.list'], prefix: 'eom_marshal') -inst_headers = [ +inst_headers = files( 'eom-application.h', 'eom-application-activatable.h', 'eom-debug.h', @@ -30,9 +30,9 @@ inst_headers = [ 'eom-job-queue.h', 'eom-clipboard-handler.h', 'eom-jobs.h', -] +) -noinst_headers = [ +noinst_headers = files( 'eom-application-internal.h', 'eom-session.h', 'eom-util.h', @@ -53,11 +53,16 @@ noinst_headers = [ 'eom-plugin-engine.h', 'eom-close-confirmation-dialog.h', 'zoom.h', -] +) enum = gnome.mkenums('eom-enum-types', c_template: 'eom-enum-types.c.template', h_template: 'eom-enum-types.h.template', sources: inst_headers) -c_sources = [ +enum_headers = files( + 'eom-scroll-view.h', + 'eom-window.h', +) + +c_sources = files( 'eom-application.c', 'eom-application-activatable.c', 'eom-session.c', @@ -96,7 +101,7 @@ c_sources = [ 'eom-plugin-engine.c', 'eom-clipboard-handler.c', 'zoom.c', -] +) libeom_src = [ c_sources, @@ -108,17 +113,17 @@ libeom_src = [ ] if exif.found() - inst_headers += ['eom-exif-util.h'] - noinst_headers += ['eom-metadata-details.h'] - libeom_src += [ + inst_headers += files('eom-exif-util.h') + noinst_headers += files('eom-metadata-details.h') + libeom_src += files( 'eom-metadata-details.c', 'eom-exif-util.c', - ] + ) endif if xmp.found() - noinst_headers += ['eom-metadata-details.h'] - libeom_src += ['eom-metadata-details.c'] + noinst_headers += files('eom-metadata-details.h') + libeom_src += files('eom-metadata-details.c') endif cflags = [ |