mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
cmCommand: Remove IsDiscouraged interface.
This used to affect documentation, but does not affect the Sphinx documentation.
This commit is contained in:
@@ -50,12 +50,6 @@ public:
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
|
||||
/** This command is kept for compatibility with older CMake versions. */
|
||||
virtual bool IsDiscouraged() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
cmTypeMacro(cmExecProgramCommand, cmCommand);
|
||||
private:
|
||||
static bool RunCommand(const char* command, std::string& output,
|
||||
|
||||
Reference in New Issue
Block a user