diff options
author | Brad King <brad.king@kitware.com> | 2003-02-14 23:47:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-02-14 23:47:16 (GMT) |
commit | a02574158d178615cf8fd642695e5099b6041049 (patch) | |
tree | df9f52770e9c2ff771988ae1a91ec0b2287548da /Source/cmLoadCacheCommand.h | |
parent | dec0b5106611cbccd1f75c1fa3371d66bdd69a47 (diff) | |
download | CMake-a02574158d178615cf8fd642695e5099b6041049.zip CMake-a02574158d178615cf8fd642695e5099b6041049.tar.gz CMake-a02574158d178615cf8fd642695e5099b6041049.tar.bz2 |
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
Diffstat (limited to 'Source/cmLoadCacheCommand.h')
-rw-r--r-- | Source/cmLoadCacheCommand.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/Source/cmLoadCacheCommand.h b/Source/cmLoadCacheCommand.h index 925cd3b..1eef5b8 100644 --- a/Source/cmLoadCacheCommand.h +++ b/Source/cmLoadCacheCommand.h @@ -55,7 +55,7 @@ public: */ virtual const char* GetTerseDocumentation() { - return "load in the values from another cache."; + return "Load in the values from another project's CMake cache."; } /** @@ -64,16 +64,23 @@ public: virtual const char* GetFullDocumentation() { return - "LOAD_CACHE(pathToCacheFile [EXCLUDE entry1...] [INCLUDE_INTERNALS entry1...])\n" - "LOAD_CACHE(pathToCacheFile READ_WITH_PREFIX prefix entry1...)\n" - "Load in the values from another cache. This is useful for a project " - "that depends on another project built in a different tree." - "EXCLUDE option can be used to provide a list of entries to be excluded." + " LOAD_CACHE(pathToCacheFile READ_WITH_PREFIX\n" + " prefix entry1...)\n" + "Read the cache and store the requested entries in variables with " + "their name prefixed with the given prefix. " + "This only reads the values, and does not create entries in the local " + "project's cache.\n" + " LOAD_CACHE(pathToCacheFile [EXCLUDE entry1...]\n" + " [INCLUDE_INTERNALS entry1...])\n" + "Load in the values from another cache and store them in the local " + "project's cache as internal entries. This is useful for a project " + "that depends on another project built in a different tree. " + "EXCLUDE option can be used to provide a list of entries to be " + "excluded. " "INCLUDE_INTERNALS can be used to provide a list of internal entries" - "to be included. Normally, no internal entries are brougt in.\n" - "The READ_WITH_PREFIX form will read the cache and store the requested " - "entries in variables with their name prefixed with the given prefix. " - "This form only reads the values, and does not create local cache entries."; + "to be included. Normally, no internal entries are brougt in. Use " + "of this form of the command is strongly discouraged, but it is " + "provided for backward compatability."; } cmTypeMacro(cmLoadCacheCommand, cmCommand); |