Skip to content

refactor ExcludedFromBuild to use Conditional properly - #8794

Closed
IOBYTE wants to merge 3 commits into
cppcheck-opensource:mainfrom
IOBYTE:main
Closed

refactor ExcludedFromBuild to use Conditional properly#8794
IOBYTE wants to merge 3 commits into
cppcheck-opensource:mainfrom
IOBYTE:main

Conversation

@IOBYTE

@IOBYTE IOBYTE commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@IOBYTE
IOBYTE requested a review from danmar August 13, 2026 23:00
@IOBYTE

IOBYTE commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator Author

I'm going to close this now. I think I finally found the root cause of all the dead end problems I keep encountering while trying to extend this code. We are evaluating condition wrong. We are parsing the file and then evaluating the conditions per configuration. We should be parsing for configurations and then parsing the file per configuration. This is how msbuild does it. The result is similar but we wouldn't have to have all the special code looking for known variables and the ones we don't look for will just start working.

@IOBYTE IOBYTE closed this Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant