summaryrefslogtreecommitdiffstats
path: root/Source/cmOptionCommand.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-08-25 19:23:18 (GMT)
committerDavid Cole <david.cole@kitware.com>2010-08-25 19:23:18 (GMT)
commit9e62ac0b400c5aff953b74c8f8187ba9f4f71969 (patch)
tree27c3cdd3644aa5063bcbfb308558a22a4c1c4879 /Source/cmOptionCommand.h
parentc4f7034efb1ded09f3a2ca2915c9a6f1766ddf4b (diff)
downloadCMake-9e62ac0b400c5aff953b74c8f8187ba9f4f71969.zip
CMake-9e62ac0b400c5aff953b74c8f8187ba9f4f71969.tar.gz
CMake-9e62ac0b400c5aff953b74c8f8187ba9f4f71969.tar.bz2
Improve documentation of OPTION command.
Point via see also phrasing to the CMakeDependentOption module.
Diffstat (limited to 'Source/cmOptionCommand.h')
-rw-r--r--Source/cmOptionCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmOptionCommand.h b/Source/cmOptionCommand.h
index 8670fc4..fa5abd8 100644
--- a/Source/cmOptionCommand.h
+++ b/Source/cmOptionCommand.h
@@ -59,7 +59,10 @@ public:
" option(<option_variable> \"help string describing option\"\n"
" [initial value])\n"
"Provide an option for the user to select as ON or OFF. If no "
- "initial value is provided, OFF is used.";
+ "initial value is provided, OFF is used.\n"
+ "If you have options that depend on the values of other "
+ "options, see the module help for CMakeDependentOption."
+ ;
}
/**