summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-18 15:16:14 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-03 18:45:40 (GMT)
commit0941d6232a979a129a651915972ab7332c15550d (patch)
tree9b7cb63ef89ca6aae92b03f28d82c06ffcbc1018 /Source/cmDocumentVariables.cxx
parent18a3195ad57cafd06851ecf4cb7265cab95cfa38 (diff)
downloadCMake-0941d6232a979a129a651915972ab7332c15550d.zip
CMake-0941d6232a979a129a651915972ab7332c15550d.tar.gz
CMake-0941d6232a979a129a651915972ab7332c15550d.tar.bz2
Add a way to print the origins of used include directories.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 32c543d..d4a876d 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -896,6 +896,15 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
" script, it may get fatal error messages from the script.",false,
"Variables That Change Behavior");
+ cm->DefineProperty
+ ("CMAKE_DEBUG_TARGET_PROPERTIES", cmProperty::VARIABLE,
+ "Enables tracing output for target properties.",
+ "This variable can be populated with a list of properties to generate "
+ "debug output for when evaluating target properties. Currently it can "
+ "only be used when evaluating the INCLUDE_DIRECTORIES target property. "
+ "In that case, it outputs a backtrace for each include directory in "
+ "the build. Default is unset.",false,"Variables That Change Behavior");
+
// Variables defined by CMake that describe the system
cm->DefineProperty