diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-06-04 17:42:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-06-04 17:42:42 (GMT) |
commit | fc0a916eee7068720bcaffc32ca5cc8e9414e9d1 (patch) | |
tree | 8f4eb45e612c646f6436e45891535582276bb126 /Source/cmCustomCommand.h | |
parent | 3154a6649a12711068e54405f70cb4b224b13443 (diff) | |
download | CMake-fc0a916eee7068720bcaffc32ca5cc8e9414e9d1.zip CMake-fc0a916eee7068720bcaffc32ca5cc8e9414e9d1.tar.gz CMake-fc0a916eee7068720bcaffc32ca5cc8e9414e9d1.tar.bz2 |
ENH: allow duplicate commands with the same output to be reduced automatically to one command
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r-- | Source/cmCustomCommand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index 79206ac..62b47fa 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -69,6 +69,9 @@ public: const std::vector<std::string> &GetDepends() const {return m_Depends;} std::vector<std::string> &GetDepends() {return m_Depends;} + ///! Return true if the command and args are equal to the ones here. + bool IsEquivalent(const char* command, + const char* args); private: std::string m_Command; std::string m_Arguments; |