@classmethod
def set_standard_vars(cls, executor, context, variant, build_type, install,
    build_path, install_path=None):
    """Sets a standard set of environment variables for the build system to
        use
        """
    vars = cls.get_standard_vars(context=context, variant=variant,
        build_type=build_type, install=install, build_path=build_path,
        install_path=install_path)
    for var, value in vars.items():
        executor.env[var] = value
