Let cmake.configureArgs overwrite the default cmake args (#3762)
Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
This commit is contained in:
Родитель
682f759748
Коммит
2fb3c60384
|
@ -1404,7 +1404,7 @@ export abstract class CMakeDriver implements vscode.Disposable {
|
|||
const initial_common_flags = extra_args.concat(this.config.configureArgs);
|
||||
const common_flags = initial_common_flags.includes("--warn-unused-cli") ? initial_common_flags : initial_common_flags.concat("--no-warn-unused-cli");
|
||||
const define_flags = withoutCmakeSettings ? [] : this.generateCMakeSettingsFlags();
|
||||
const final_flags = common_flags.concat(define_flags, init_cache_flags);
|
||||
const final_flags = define_flags.concat(common_flags, init_cache_flags);
|
||||
|
||||
// Get expanded configure environment
|
||||
const expanded_configure_env = await this.getConfigureEnvironment();
|
||||
|
|
Загрузка…
Ссылка в новой задаче