aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-08 19:06:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-08 19:06:22 +0000
commit0263a152d490c4120f76ae5447a114b30a43e6c8 (patch)
treede5c1ef01c33064df7c6dfac6505af98ddbf3e7f /meson.build
parentchangelog: DECSET 27127 - modifies Esc to send \E[27127~ instead of \E (diff)
parentinstall: simplify sentence (diff)
Merge branch 'input-method-editor'
Closes #134
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build19
1 files changed, 13 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index 6b9a8c4d..36c5807e 100644
--- a/meson.build
+++ b/meson.build
@@ -17,6 +17,9 @@ add_project_arguments(
(is_debug_build
? ['-D_DEBUG']
: [cc.get_supported_arguments('-fno-asynchronous-unwind-tables')]) +
+ (get_option('ime')
+ ? ['-DFOOT_IME_ENABLED=1']
+ : []) +
cc.get_supported_arguments(
['-pedantic',
'-fstrict-aliasing',
@@ -78,6 +81,7 @@ foreach prot : [
wayland_protocols_datadir + '/unstable/xdg-output/xdg-output-unstable-v1.xml',
wayland_protocols_datadir + '/unstable/primary-selection/primary-selection-unstable-v1.xml',
wayland_protocols_datadir + '/stable/presentation-time/presentation-time.xml',
+ wayland_protocols_datadir + '/unstable/text-input/text-input-unstable-v3.xml',
]
wl_proto_headers += custom_target(
@@ -147,6 +151,8 @@ executable(
'commands.c', 'commands.h',
'extract.c', 'extract.h',
'fdm.c', 'fdm.h',
+ 'foot-features.h',
+ 'ime.c', 'ime.h',
'input.c', 'input.h',
'main.c',
'quirks.c', 'quirks.h',
@@ -169,6 +175,7 @@ executable(
executable(
'footclient',
'client.c', 'client-protocol.h',
+ 'foot-features.h',
'log.c', 'log.h',
'macros.h',
'xmalloc.c', 'xmalloc.h',
@@ -196,9 +203,9 @@ subdir('completions')
subdir('doc')
subdir('icons')
-# summary(
-# {
-# '<feature>': false,
-# },
-# bool_yn: true
-# )
+summary(
+ {
+ 'IME': get_option('ime'),
+ },
+ bool_yn: true
+)