if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Process some integers.')
+ parser.add_argument("--no-error", action='store_true',
+ default=False, help="Do not error out on warnings")
parser.add_argument("--reconfigure", action='store_true',
default=False, help='Force a full reconfiguration'
' meaning the build/ folder is removed.'
self.args = args
def get_configs(self):
+ if self.options.no_error:
+ return []
return ['--werror']
def configure_meson(self):
' 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',
+ default=False, help="Do not error out on warnings")
options, args = parser.parse_known_args()
configurer = GstBuildConfigurer(options, args)