This function builds the cmake build command.

def build(self, build_dir, **kwargs):
        """This function builds the cmake build command."""
        # pylint: disable=no-self-use
        del kwargs
        args = ["cmake", "--build", build_dir]
        args.extend(self._get_build_flags())
        return [{"args": args}]