summaryrefslogtreecommitdiffstats
path: root/Source/cmSetCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-01-20 19:38:16 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-01-20 19:38:16 (GMT)
commitacdd032109f412a63122337cd9b7ebdde13849bc (patch)
tree414d556f5f527ea047088d5a78dc252bb56b85f3 /Source/cmSetCommand.h
parent36dd18efce8c87bf6ce7d49c961987fc4f22324c (diff)
downloadCMake-acdd032109f412a63122337cd9b7ebdde13849bc.zip
CMake-acdd032109f412a63122337cd9b7ebdde13849bc.tar.gz
CMake-acdd032109f412a63122337cd9b7ebdde13849bc.tar.bz2
ENH: now the set command can set environment variables
Diffstat (limited to 'Source/cmSetCommand.h')
-rw-r--r--Source/cmSetCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmSetCommand.h b/Source/cmSetCommand.h
index b168be0..0556053 100644
--- a/Source/cmSetCommand.h
+++ b/Source/cmSetCommand.h
@@ -87,7 +87,10 @@ public:
"then this always writes into the current makefile. The FORCE option "
"will overwrite the CACHE value removing any changes by the USER.\n"
" SET(VAR VALUE1 ... VALUEN).\n"
- "In this case VAR is set to a ; separated list of values.";
+ "In this case VAR is set to a ; separated list of values.\n"
+ "VAR can be an environment variable such as:\n"
+ " SET( ENV{PATH} /home/martink )\n"
+ "in which case the environment variable will be set.";
}
cmTypeMacro(cmSetCommand, cmCommand);