diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-11 11:13:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-15 15:43:50 (GMT) |
commit | 24b7f31d3a2a464cef5955648e4a152a19d44890 (patch) | |
tree | 826e41d3a424645639f21ecdbe8d9f586edd77da /Source/cmake.cxx | |
parent | 0aec49132885be07e1d92a4a1db58f4c6c4c2844 (diff) | |
download | CMake-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.cxx | 26 |
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) { |