summaryrefslogtreecommitdiffstats
path: root/Source/cmExecProgramCommand.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-26 19:27:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-09-27 10:08:07 (GMT)
commit5642449a69b7e8ed0a0fbaf1607ef34ebae239c6 (patch)
treeb1830290b5f8cb37646c1f7bb0bf1fbd1d3937f5 /Source/cmExecProgramCommand.h
parent77c6a339af39869608dcaccf578a6cdd84d2efaa (diff)
downloadCMake-5642449a69b7e8ed0a0fbaf1607ef34ebae239c6.zip
CMake-5642449a69b7e8ed0a0fbaf1607ef34ebae239c6.tar.gz
CMake-5642449a69b7e8ed0a0fbaf1607ef34ebae239c6.tar.bz2
cmCommand: Remove IsDiscouraged interface.
This used to affect documentation, but does not affect the Sphinx documentation.
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r--Source/cmExecProgramCommand.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index 23d10f9..adefdf9 100644
--- a/Source/cmExecProgramCommand.h
+++ b/Source/cmExecProgramCommand.h
@@ -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,