summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-18 19:35:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-18 21:55:41 (GMT)
commite17b5e426294dc5cc86ba31dfd4d4acc553c0c72 (patch)
tree049ab6bd6a65638359d6e514b31b84f206a2d044 /Source/cmMakefile.h
parent1ec1bf9f071ce930094171ab45f2dbc02c57927b (diff)
downloadCMake-e17b5e426294dc5cc86ba31dfd4d4acc553c0c72.zip
CMake-e17b5e426294dc5cc86ba31dfd4d4acc553c0c72.tar.gz
CMake-e17b5e426294dc5cc86ba31dfd4d4acc553c0c72.tar.bz2
cmMakefile: Add access to the top-level execution context.
This is cheaper than getting the whole backtrace, and the cmListFileBacktrace will not always be composed of cmListFileContext objects.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 453884a..5ef2ec9 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -610,6 +610,7 @@ public:
* Get the current context backtrace.
*/
cmListFileBacktrace GetBacktrace() const;
+ cmListFileContext GetExecutionContext() const;
/**
* Get the vector of files created by this makefile