@@ -120,8 +120,6 @@ export interface CompilerDefaults {
120
120
knownCompilers : KnownCompiler [ ] ;
121
121
cStandard : string ;
122
122
cppStandard : string ;
123
- includes : string [ ] ;
124
- frameworks : string [ ] ;
125
123
windowsSdkVersion : string ;
126
124
intelliSenseMode : string ;
127
125
trustedCompilerFound : boolean ;
@@ -143,8 +141,6 @@ export class CppProperties {
143
141
private knownCompilers ?: KnownCompiler [ ] ;
144
142
private defaultCStandard : string | null = null ;
145
143
private defaultCppStandard : string | null = null ;
146
- private defaultIncludes : string [ ] | null = null ;
147
- private defaultFrameworks ?: string [ ] ;
148
144
private defaultWindowsSdkVersion : string | null = null ;
149
145
private isCppPropertiesJsonVisible : boolean = false ;
150
146
private vcpkgIncludes : string [ ] = [ ] ;
@@ -295,8 +291,6 @@ export class CppProperties {
295
291
this . knownCompilers = compilerDefaults . knownCompilers ;
296
292
this . defaultCStandard = compilerDefaults . cStandard ;
297
293
this . defaultCppStandard = compilerDefaults . cppStandard ;
298
- this . defaultIncludes = compilerDefaults . includes ;
299
- this . defaultFrameworks = compilerDefaults . frameworks ;
300
294
this . defaultWindowsSdkVersion = compilerDefaults . windowsSdkVersion ;
301
295
this . defaultIntelliSenseMode = compilerDefaults . intelliSenseMode !== "" ? compilerDefaults . intelliSenseMode : undefined ;
302
296
this . trustedCompilerFound = compilerDefaults . trustedCompilerFound ;
@@ -349,7 +343,7 @@ export class CppProperties {
349
343
}
350
344
351
345
private async applyDefaultIncludePathsAndFrameworks ( ) {
352
- if ( this . configurationIncomplete && this . defaultIncludes && this . defaultFrameworks && this . vcpkgPathReady ) {
346
+ if ( this . configurationIncomplete && this . vcpkgPathReady ) {
353
347
const configuration : Configuration | undefined = this . CurrentConfiguration ;
354
348
if ( configuration ) {
355
349
this . applyDefaultConfigurationValues ( configuration ) ;
@@ -382,9 +376,6 @@ export class CppProperties {
382
376
if ( isUnset ( settings . defaultDefines ) ) {
383
377
configuration . defines = ( process . platform === 'win32' ) ? [ "_DEBUG" , "UNICODE" , "_UNICODE" ] : [ ] ;
384
378
}
385
- if ( isUnset ( settings . defaultMacFrameworkPath ) && process . platform === 'darwin' ) {
386
- configuration . macFrameworkPath = this . defaultFrameworks ;
387
- }
388
379
if ( ( isUnset ( settings . defaultWindowsSdkVersion ) || settings . defaultWindowsSdkVersion === "" ) && this . defaultWindowsSdkVersion && process . platform === 'win32' ) {
389
380
configuration . windowsSdkVersion = this . defaultWindowsSdkVersion ;
390
381
}
@@ -972,13 +963,6 @@ export class CppProperties {
972
963
if ( ! configuration . windowsSdkVersion && ! ! this . defaultWindowsSdkVersion ) {
973
964
configuration . windowsSdkVersion = this . defaultWindowsSdkVersion ;
974
965
}
975
- if ( ! origIncludePath && ! ! this . defaultIncludes ) {
976
- const includePath : string [ ] = configuration . includePath || [ ] ;
977
- configuration . includePath = includePath . concat ( this . defaultIncludes ) ;
978
- }
979
- if ( ! configuration . macFrameworkPath && ! ! this . defaultFrameworks ) {
980
- configuration . macFrameworkPath = this . defaultFrameworks ;
981
- }
982
966
}
983
967
} else {
984
968
// add compiler to list of trusted compilers
0 commit comments