Skip to content

Fix2353 - Fix active build configuration warning coming from cpptools - #3267

Merged
Andreea Isac (andreeis) merged 3 commits into
mainfrom
dev/andris/cmake-tools/fix2353-Active_build_configuration_warning
Jul 31, 2023
Merged

Andreea Isac (andreeis) merged 3 commits into
mainfrom
dev/andris/cmake-tools/fix2353-Active_build_configuration_warning

Conversation

@andreeis

Copy link
Copy Markdown
Contributor

Fix for issue #2353: active build configuration warning coming from CppTools. This happens when we don't have a cache yet, when "configure" operates on an empty build. While querying for cmake build type (the multi-config or single-config way...) we get the conclusions and decisions wrong.
There were more ways to fix this but I found redundancy with code in cmakeProject.currentBuildType and that actually looks like following a very thorough and good logic. It was also called before for kits case (but inside its implementation handles presets as well). It contains all the fixes I was considering earlier to do. Cleanest is to just call that. It looks like it's meant to handle the whole logic that I replace now with it.

@andreeis
Andreea Isac (andreeis) merged commit d03ed6c into main Jul 31, 2023
@andreeis
Andreea Isac (andreeis) deleted the dev/andris/cmake-tools/fix2353-Active_build_configuration_warning branch July 31, 2023 16:24
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.

2 participants