Skip to content

fix issue #4003: Resolve issue with CompilationDatabase combined with variant_dir yielding incorrect output. - #4722

Merged
bdbaddog merged 1 commit into
SCons:masterfrom
edwardpeek-crown-public:issue_4003_comp_db_missing_variantdir_codegen
May 28, 2025
Merged

bdbaddog merged 1 commit into
SCons:masterfrom
edwardpeek-crown-public:issue_4003_comp_db_missing_variantdir_codegen

Conversation

@edwardpeek-crown-public

@edwardpeek-crown-public edwardpeek-crown-public commented May 21, 2025 •

Copy link
Copy Markdown
Contributor

Fixes issue #4003.

Only do srcnode() mapping for files that are actually raw sources.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

@mwichmann mwichmann added this to 4.10 May 21, 2025
@mwichmann mwichmann moved this to In progress in 4.10 May 21, 2025
@bdbaddog

Copy link
Copy Markdown
Contributor

Initial glance this looks good.
Can you also add a blurb in RELEASE.txt
I'll do a thorough review in the next couple days.

@edwardpeek-crown-public
edwardpeek-crown-public force-pushed the issue_4003_comp_db_missing_variantdir_codegen branch from dd16593 to ac8f313 Compare May 23, 2025 02:12
@bdbaddog bdbaddog changed the title fix issue #4003 to emit variant dir for built sources fix issue #4003: Resolve issue with CompilationDatabase combined with variant_dir yielding incorrect output. May 27, 2025
@bdbaddog
bdbaddog merged commit 152358d into SCons:master May 28, 2025
@github-project-automation github-project-automation Bot moved this from In progress to Done in 4.10 May 28, 2025
@mwichmann mwichmann added this to the NextRelease milestone Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants