message: User defined generator has priority over any other selection criteria
diff: @@ -320,8 +320,18 @@ export abstract class CMakeDriver implements vscode.Disposable {
  if (kit.preferredGenerator)
  preferredGenerators.push(kit.preferredGenerator);
  + // Use the "best generator" selection logic only if the user did not define already
  + // in settings (via "cmake.generator") a particular generator to be used.
  + if (this.config.generator) {
  + this._generator = {
  + name: this.config.generator,
  + platform: this.config.platform || undefined,
  + toolset: this.config.toolset || undefined,
  + };
  + } else {
  this._generator = await this.findBestGenerator(preferredGenerators);
  }
  + }
  protected abstract doSetKit(needsClean: boolean, cb: () => Promise<void>): Promise<void>;
  