self.args = args
def get_configs(self):
- if self.options.no_error:
- return []
- return ['--werror']
+ if self.options.werror:
+ return ['--werror']
+ return []
def configure_meson(self):
if not self.options.reconfigure:
' You can also use `ninja reconfigure` to just'
' make sure meson is rerun but the build folder'
' is kept.')
- parser.add_argument("--no-error", action='store_true',
+ parser.add_argument("--werror", action='store_true',
default=False, help="Do not error out on warnings")
options, args = parser.parse_known_args()