11285115cSWilliam A. Kennington III# Copyright 2021 Google LLC 21285115cSWilliam A. Kennington III# 31285115cSWilliam A. Kennington III# Licensed under the Apache License, Version 2.0 (the "License"); 41285115cSWilliam A. Kennington III# you may not use this file except in compliance with the License. 51285115cSWilliam A. Kennington III# You may obtain a copy of the License at 61285115cSWilliam A. Kennington III# 71285115cSWilliam A. Kennington III# http://www.apache.org/licenses/LICENSE-2.0 81285115cSWilliam A. Kennington III# 91285115cSWilliam A. Kennington III# Unless required by applicable law or agreed to in writing, software 101285115cSWilliam A. Kennington III# distributed under the License is distributed on an "AS IS" BASIS, 111285115cSWilliam A. Kennington III# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 121285115cSWilliam A. Kennington III# See the License for the specific language governing permissions and 131285115cSWilliam A. Kennington III# limitations under the License. 141285115cSWilliam A. Kennington III 151285115cSWilliam A. Kennington IIIproject( 161285115cSWilliam A. Kennington III 'gbmc-ncsid', 171285115cSWilliam A. Kennington III ['cpp', 'c'], 181285115cSWilliam A. Kennington III version: '0.1', 19*1dfe24eaSPatrick Williams meson_version: '>=1.1.1', 201285115cSWilliam A. Kennington III default_options: [ 211285115cSWilliam A. Kennington III 'warning_level=3', 221285115cSWilliam A. Kennington III 'werror=true', 23*1dfe24eaSPatrick Williams 'cpp_std=c++23', 24382d628dSWilly Tu 'c_std=c18', 251285115cSWilliam A. Kennington III 'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'), 261285115cSWilliam A. Kennington III ]) 271285115cSWilliam A. Kennington III 281285115cSWilliam A. Kennington IIIsubdir('src') 291285115cSWilliam A. Kennington III 301285115cSWilliam A. Kennington IIIbuild_tests = get_option('tests') 311285115cSWilliam A. Kennington III 321285115cSWilliam A. Kennington IIIif not build_tests.disabled() 331285115cSWilliam A. Kennington III subdir('test') 341285115cSWilliam A. Kennington IIIendif 35