Increasing verbosity of the CPMAddPackage output #611
Replies: 1 comment
-
Yes, it's possible, but it might not be exactly what you're hoping for ... :D First of all: Set the cache variable If you're just using the
If you are actually cloning a Git repository (using Other than that, I don't think there is anything else CMake allows us to enable. Keep in mind that both these methods come from CMake's underlying FetchContent module, not CPM itself. We have no control of what information is printed. Also, be aware that enabling these can result in very very very verbose output. It may be more practical to notify the user with a Hope this helps :) |
Beta Was this translation helpful? Give feedback.
-
At the moment when I fetch a git repository using
CPMAddPackage
i just get the output...CPM: Adding package <repository name>@0 (<git tag>)
But some repositories are quite big and may have submodules that also need fetching which leaves the console output looking stalled for quite some time. It would be nice if we could increase the verbosity of the output. Is this at all possible under the latest version of CPM?
Beta Was this translation helpful? Give feedback.
All reactions