summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmake.cxx26
-rw-r--r--Source/cmake.h16
2 files changed, 0 insertions, 42 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)
{
diff --git a/Source/cmake.h b/Source/cmake.h
index e7a8acb..359e7bf 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -24,7 +24,6 @@ class cmGlobalGeneratorFactory;
class cmGlobalGenerator;
class cmLocalGenerator;
class cmMakefile;
-class cmCommand;
class cmVariableWatch;
class cmFileTimeComparison;
class cmExternalMakefileProjectGenerator;
@@ -216,21 +215,6 @@ class cmake
*/
int GetSystemInformation(std::vector<std::string>&);
- /**
- * Add a command to this cmake instance
- */
- void AddCommand(cmCommand* );
- void RenameCommand(const std::string& oldName, const std::string& newName);
- void RemoveUnscriptableCommands();
-
- /**
- * Get a command by its name
- */
- cmCommand *GetCommand(const std::string& name) const;
-
- /** Check if a command exists. */
- bool CommandExists(const std::string& name) const;
-
///! Parse command line arguments
void SetArgs(const std::vector<std::string>&,
bool directoriesSetBefore = false);