summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 11:13:57 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-15 15:43:50 (GMT)
commit24b7f31d3a2a464cef5955648e4a152a19d44890 (patch)
tree826e41d3a424645639f21ecdbe8d9f586edd77da /Source/cmake.cxx
parent0aec49132885be07e1d92a4a1db58f4c6c4c2844 (diff)
downloadCMake-24b7f31d3a2a464cef5955648e4a152a19d44890.zip
CMake-24b7f31d3a2a464cef5955648e4a152a19d44890.tar.gz
CMake-24b7f31d3a2a464cef5955648e4a152a19d44890.tar.bz2
cmake: Remove unused cmCommand methods.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index a0f813e..e286295 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -199,32 +199,6 @@ void cmake::CleanupCommandsAndMacros()
this->State->RemoveUserDefinedCommands();
}
-bool cmake::CommandExists(const std::string& name) const
-{
- return this->State->GetCommand(name) ? true : false;
-}
-
-cmCommand *cmake::GetCommand(const std::string& name) const
-{
- return this->State->GetCommand(name);
-}
-
-void cmake::RenameCommand(const std::string& oldName,
- const std::string& newName)
-{
- this->State->RenameCommand(oldName, newName);
-}
-
-void cmake::AddCommand(cmCommand* command)
-{
- this->State->AddCommand(command);
-}
-
-void cmake::RemoveUnscriptableCommands()
-{
- this->State->RemoveUnscriptableCommands();
-}
-
// Parse the args
bool cmake::SetCacheArgs(const std::vector<std::string>& args)
{