[cmake-developers] Adding backtraces to every command
Brad King
brad.king at kitware.com
Wed Jan 31 14:42:34 EST 2018
Hi Rich,
FYI there is discussion about providing backtraces from the server
to clients here:
https://gitlab.kitware.com/cmake/cmake/issues/17539
It was originally done in CMake 3.10.0 but caused major memory bloat
and so was reverted.
> One of the things we need is to be able to get the location of where
> a property is set.
Threading that through everywhere for arbitrary properties will cause
too much memory usage. `cmTargetInternals` already has dedicated
fields for backtraces of specific properties. Something like that
could be added for the properties you need.
Can you provide more details about the use case?
-Brad
More information about the cmake-developers
mailing list