Closed ghost closed 1 year ago
Hello @julian-poidevin-switchess,
Cmake's documentation under your link specifies that FETCHCONTENT_QUIET
must not be set to OFF by the project but by the final user. This is done to reduce the noise on the configuration stage.
I suggest we follow this recommendation and let the user set it if needed. We can add something like this on the examples :
#set(FETCHCONTENT_QUIET OFF) #Unomment this line to see logs and progress bar on the fetched content
Hi @Hish15, thanks for the fast feedback !
Yeah, that would be great to add the recommandation in the examples and also maybe update the project documentation to specify that this option exists !
You're welcome!
I don't think we want to mirror all cmake documentation on the already heavy documentation we have on this repo...
That being said some aspects of cmake can be/are documented here. The one you mention might be "useless" since with the default value ON
you still get error messages in case of error.
I'm not 100% against adding it to this repo documentation. Only 80% 😄
I will let my peer @atsju give it's 2 cents on the matter.
Hi, I'm 100% aligned with @Hish15 analysis.
ON
I would vote against documenting it (it is 100% cmake thing).
Also against adding it to example as it's doesn't help any diagnostic (errors are still shown without).
Thank's @atsju.
@julian-poidevin-switchess I'm closing this issue with no changes on the repo.
Have a nice day
Describe the bug When using the FetchContent features of this repository, the
git clone
progress is supposed to show in the terminal but it does not show.Sources to reproduce
Expected behavior The git clone progress should be shown.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
3.22.1
Additional context The problem can be solved by setting :
FETCHCONTENT_QUIET
toOFF
:set(FETCHCONTENT_QUIET OFF)
. See https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_QUIET