ENH: now the set command can set environment variables

This commit is contained in:
Ken Martin
2005-01-20 14:38:16 -05:00
parent 36dd18efce
commit acdd032109
2 changed files with 40 additions and 2 deletions
+4 -1
View File
@@ -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);