summaryrefslogtreecommitdiffstats
path: root/Source/cmExpandedCommandArgument.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-01 13:02:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-01 13:03:13 (GMT)
commit8cb92c25d7fc60581d9be6af7c145ecd2ad3f84e (patch)
treef7f6fde0e70bdf141e27b479fca4a42c48c5471f /Source/cmExpandedCommandArgument.cxx
parent70695e72a665e0491be056181464f261e836a844 (diff)
parent901c4a1e05ae7d01dcf4208dfd1b11e1534d4895 (diff)
downloadCMake-8cb92c25d7fc60581d9be6af7c145ecd2ad3f84e.zip
CMake-8cb92c25d7fc60581d9be6af7c145ecd2ad3f84e.tar.gz
CMake-8cb92c25d7fc60581d9be6af7c145ecd2ad3f84e.tar.bz2
Merge topic 'perf-from-callgrind'
901c4a1e cmExpandedCommandArgument: add an overload for const char* 88ed556d cmGeneratorTarget: make keyword strings const 14a13d30 cmGeneratorExpressionLexer: only tokenize strings with a '$' f2b8d67f cmTarget: use static strings for special property names 6dfd0f92 cmGeneratorExpressionNode: avoid some strlen in $<TARGET_PROPERTY> f9235fd4 cmAddCustomCommandCommand: use std::string const& for FileIsFullPath c0e7a137 cmAddCustomCommandCommand: store keywords in strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1689
Diffstat (limited to 'Source/cmExpandedCommandArgument.cxx')
-rw-r--r--Source/cmExpandedCommandArgument.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExpandedCommandArgument.cxx b/Source/cmExpandedCommandArgument.cxx
index 0bea65f..1c0a721 100644
--- a/Source/cmExpandedCommandArgument.cxx
+++ b/Source/cmExpandedCommandArgument.cxx
@@ -24,6 +24,11 @@ bool cmExpandedCommandArgument::WasQuoted() const
return this->Quoted;
}
+bool cmExpandedCommandArgument::operator==(const char* value) const
+{
+ return this->Value == value;
+}
+
bool cmExpandedCommandArgument::operator==(std::string const& value) const
{
return this->Value == value;