summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r--Source/cmCustomCommand.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx
index 5facc4c..fffa51d 100644
--- a/Source/cmCustomCommand.cxx
+++ b/Source/cmCustomCommand.cxx
@@ -65,3 +65,18 @@ void cmCustomCommand::ExpandVariables(const cmMakefile &mf)
mf.ExpandVariablesInString(*i);
}
}
+
+
+bool cmCustomCommand::IsEquivalent(const char* command,
+ const char* args)
+{
+ if(m_Command != command)
+ {
+ return false;
+ }
+ if(m_Arguments != args)
+ {
+ return false;
+ }
+ return true;
+}