summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 81b4b33..c9cf6ee 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -214,7 +214,10 @@ void cmMakefile::Print() const
}
}
-
+bool cmMakefile::CommandExists(const char* name) const
+{
+ return (m_Commands.find(name) != m_Commands.end());
+}
void cmMakefile::ExecuteCommand(std::string &name,
std::vector<std::string> const& arguments)
@@ -1187,7 +1190,6 @@ cmMakefile::FindSourceGroup(const char* source,
return groups.front();
}
-
bool cmMakefile::IsFunctionBlocked(const char *name,
std::vector<std::string> const&args)
{