Skip to content

Comments

Fix/external include handling#14208

Open
Subham-KRLX wants to merge 1 commit intomicrosoft:mainfrom
Subham-KRLX:fix/external-include-handling
Open

Fix/external include handling#14208
Subham-KRLX wants to merge 1 commit intomicrosoft:mainfrom
Subham-KRLX:fix/external-include-handling

Conversation

@Subham-KRLX
Copy link
Contributor

Fixes #14205

MSVC External Includes: Implemented parsing for /external:I, /external:var, and /imsvc compiler flags.

Environment Support: Added automatic resolution for the EXTERNAL_INCLUDE environment variable.

Robust Utility: Created
msvcFlags.ts to accurately extract and deduplicate paths from compilerArgs.

Verification: Added 6 unit tests to ensure stability and correct handling of edge cases.

@Subham-KRLX Subham-KRLX requested a review from a team as a code owner February 23, 2026 06:05
@github-project-automation github-project-automation bot moved this to Pull Request in cpptools Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pull Request

Development

Successfully merging this pull request may close these issues.

Add handling of MSVC /external:var option and EXTERNAL_INCLUDE env variable.

1 participant