ENH: Patch from Alex to document WRITE_FILE as a discouraged command.
This commit is contained in:
parent
1e566707da
commit
c0a0f8842b
|
@ -76,6 +76,12 @@ public:
|
||||||
"input files to CMake.";
|
"input files to CMake.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** This command is kept for compatibility with older CMake versions. */
|
||||||
|
virtual bool IsDiscouraged()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
cmTypeMacro(cmWriteFileCommand, cmCommand);
|
cmTypeMacro(cmWriteFileCommand, cmCommand);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue