summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrian Helba <brian.helba@kitware.com>2012-05-14 22:50:30 (GMT)
committerBrad King <brad.king@kitware.com>2012-05-16 13:07:55 (GMT)
commitb3b095a933d7f355fcdd57c041c771b7618c9717 (patch)
tree9519737931931c665d675f16c0fd2b7c9273032f /Source/cmMakefile.h
parent75c0304a9ee646c8a408f713477fa3522ab1e8a8 (diff)
downloadCMake-b3b095a933d7f355fcdd57c041c771b7618c9717.zip
CMake-b3b095a933d7f355fcdd57c041c771b7618c9717.tar.gz
CMake-b3b095a933d7f355fcdd57c041c771b7618c9717.tar.bz2
Print any evaluated 'elseif'/'else' commands in trace mode (#13220)
In trace mode ('--trace'), any 'elseif' or 'else' commands that are evaluated as part of a conditional block will be printed. Previously, only the opening 'if' command of a conditional block was printed.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 9fc64d6..8a0088b 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -701,6 +701,11 @@ public:
#endif
/**
+ * Print a command's invocation
+ */
+ void PrintCommandTrace(const cmListFileFunction& lff);
+
+ /**
* Execute a single CMake command. Returns true if the command
* succeeded or false if it failed.
*/