拓冰建站拓冰建站
首页 / 资讯中心 / 正文

BmcWeb:Meson定义常量

Meson有一套自己的定义常量的方式,以BmcWeb举例://meson.options# BMCWEB_SESSION_AUTHoption( 'session-auth', type: 'feature', value: 'enabled', description: 'Enable session authentication',)//定义了一个option//meson.buildfeature_options = [ ... 'session-auth', ...]foreach feature_type, feature_list : { 'Feature': feature_options, 'Numeric': int_options, 'String': string_options,} summary_dict = {}
分享:

看完干货,该让你的企业上线了

免费需求沟通 · 48 小时内出具建站方案 · 河南本地可上门