summaryrefslogtreecommitdiff
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-09-25 16:52:46 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2008-09-25 16:52:46 -0400
commit5a67665f682849a88f61aa85b037c29fb5c526ea (patch)
treec2aaef867c587f47fe2e7338174a8d740605f9ec /Source/cmakemain.cxx
parentf8bc0492e174c2787780ec04979e8ca7e50d5aad (diff)
downloadcmake-5a67665f682849a88f61aa85b037c29fb5c526ea.tar.gz
BUG: fix for bug 7733, document that debug try compile may break the build
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index ff57eca2b8..198d123b1a 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -97,7 +97,11 @@ static const char * cmDocumentationOptions[][3] =
"additional information such as the cache, log files etc."},
{"--debug-trycompile", "Do not delete the try compile directories..",
"Do not delete the files and directories created for try_compile calls. "
- "This is useful in debugging failed try_compiles."},
+ "This is useful in debugging failed try_compiles. It may however "
+ "change the results of the try-compiles as old junk from a previous "
+ "try-compile may cause a different test to either pass or fail "
+ "incorrectly. This option is best used for one try-compile at a time, "
+ "and only when debugging." },
{"--debug-output", "Put cmake in a debug mode.",
"Print extra stuff during the cmake run like stack traces with "
"message(send_error ) calls."},