From f8a223b7aca08491e22438df0f1ea233d602907c Mon Sep 17 00:00:00 2001 From: Akemi Date: Sat, 25 Feb 2017 21:56:59 +0100 Subject: osx: initial Touch Bar support --- wscript | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 098f53b131..1dedc567e1 100644 --- a/wscript +++ b/wscript @@ -923,7 +923,16 @@ standalone_features = [ 'desc': 'Apple Remote support', 'deps': [ 'cocoa' ], 'func': check_true - } + }, { + 'name': '--macos-touchbar', + 'desc': 'macOS Touch Bar support', + 'deps': [ 'cocoa' ], + 'func': check_cc( + fragment=load_fragment('touchbar.m'), + framework_name=['AppKit'], + compile_filename='test-touchbar.m', + linkflags='-fobjc-arc') + } ] _INSTALL_DIRS_LIST = [ -- cgit v1.2.3