This function builds the cmake configure command.

def configure(self, src_dir, build_dir, **kwargs):
        """This function builds the cmake configure command."""
        del kwargs
        ex_path = self._ex_args.get("project_path")
        if ex_path:
            src_dir = os.path.join(src_dir, ex_path)

        return [{"args": ["cmake", src_dir] + self._config_args, "cwd": build_dir}]