diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-11-02 17:30:45 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-11-02 17:30:45 +0200 |
commit | b5217fb4c9b89c0d0552644e95614f946e69359f (patch) | |
tree | d81529264e8d8f016092811f856628daa173e49d /src/meson.build | |
parent | Update wraps (diff) | |
download | smolbote-b5217fb4c9b89c0d0552644e95614f946e69359f.tar.xz |
Add tabler-icons
Add rcc dependency to create dumps of svg files
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build index aa98d61..062dae4 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,12 +1,21 @@ python = import('python') python3 = python.find_installation('python3') +rcc_exe = subproject('rcc').get_variable('rcc_exe') +icons = subproject('tabler-icons').get_variable('smolbote_icons') + poi_settings_h = custom_target('default_config_value', input: files('../scripts/gen-default-cfg.py', '../Kconfig', '..'/host_machine.system()/'.config', 'settings.h.in'), output: 'settings.h', command: [ python3, '@INPUT0@', '--kconfig=@INPUT1@', '--dotconfig=@INPUT2@', '--input=@INPUT3@', '--output=@OUTPUT@' ] ) +poi_icons_h = custom_target('poi_icons_h', + input: icons, + output: 'icons.h', + command: [ python3, rcc_exe, '-o=@OUTPUT@', 'dump', '-ns=icons', '@INPUT@' ] +) + subdir('about') subdir('webengine') @@ -48,6 +57,6 @@ poi_sourceset.add(files( 'subwindow/subwindow.cpp', 'subwindow/tabwidget.cpp', ), - version_h, poi_settings_h + version_h, poi_settings_h, poi_icons_h ) |