ENH: Patch from Alex to document WRITE_FILE as a discouraged command.

This commit is contained in:
Brad King 2007-01-22 10:52:27 -05:00
parent 1e566707da
commit c0a0f8842b
1 changed files with 6 additions and 0 deletions

View File

@ -76,6 +76,12 @@ public:
"input files to CMake.";
}
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged()
{
return true;
}
cmTypeMacro(cmWriteFileCommand, cmCommand);
};