mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
ENH: New format for warning and error messages
- Add cmMakefile methods IssueError and IssueWarning
- Maintain an explicit call stack in cmMakefile
- Include context/call-stack info in messages
- Nested errors now unwind the call stack
- Use new mechanism for policy warnings and errors
- Improve policy error message
- Include cmExecutionStatus pointer in call stack
so that errors deeper in the C++ stack under
a command invocation will become errors for the
command
This commit is contained in:
@@ -50,14 +50,18 @@ struct cmListFileArgument
|
||||
long Line;
|
||||
};
|
||||
|
||||
struct cmListFileFunction
|
||||
struct cmListFileContext
|
||||
{
|
||||
std::string Name;
|
||||
std::vector<cmListFileArgument> Arguments;
|
||||
std::string FilePath;
|
||||
long Line;
|
||||
};
|
||||
|
||||
struct cmListFileFunction: public cmListFileContext
|
||||
{
|
||||
std::vector<cmListFileArgument> Arguments;
|
||||
};
|
||||
|
||||
struct cmListFile
|
||||
{
|
||||
cmListFile()
|
||||
|
||||
Reference in New Issue
Block a user