Multi-generators cannot be used without 'build_type' setting - #6228
Conversation
|
@lasote I feel like it makes no sense to use a multi generator in a recipe without The advantage of the multi generators is to have the files for all the This fixes #6135 in the sense that the error now says something about the |
memsharded
left a comment
There was a problem hiding this comment.
This works both for:
- conanfile.py with
build_typesetting. - conanfile.txt (because this one doesn't remove/blank the settings, it keeps the ones defined in the profile)
If we wanted to build & test a header-only library it is necessary to define the build_type setting if you want to use this generator, but I am fine with that.
I was about to merge it, but I saw comment from @lasote here #6228 (comment), so I might be missing some previous discussion. Leaving it open and assigning to him.
|
I haven't commented anything about this. Go ahead. |
Changelog: Fix: Multi-generators cannot be used without
build_typesetting. A failure is forced tocmake_find_package_multiandvisual_studio_multias it was incmake_multi.Docs: omit
closes #6135
This PR forces in all the multi-generators the same failure that we were triggering for the
cmake_multione.Currently, the full error shown to the user that runs the
conan installis:Let me know if we want to improve it to add a more meaningful message.
#tags: slow