diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-18 15:16:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-03 18:45:40 (GMT) |
commit | 0941d6232a979a129a651915972ab7332c15550d (patch) | |
tree | 9b7cb63ef89ca6aae92b03f28d82c06ffcbc1018 /Source/cmDocumentVariables.cxx | |
parent | 18a3195ad57cafd06851ecf4cb7265cab95cfa38 (diff) | |
download | CMake-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.cxx | 9 |
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 |