mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-08 06:16:53 +00:00
cmGlobalXCodeGenerator: Fix genex interpreter overloads
Overload both signatures to add Xcode-specific functionality. Co-Author: Vitaly Stakhovsky <vvs31415@gitlab.org>
This commit is contained in:
1 parent
734238d64f
commit
fc223f9860
1 file changed
+6
-2
@@ -770,10 +770,14 @@ public:
|
||||
XCodeGeneratorExpressionInterpreter& operator=(
|
||||
XCodeGeneratorExpressionInterpreter const&) = delete;
|
||||
|
||||
using cmGeneratorExpressionInterpreter::Evaluate;
|
||||
|
||||
const std::string& Evaluate(const char* expression,
|
||||
const std::string& property)
|
||||
{
|
||||
return this->Evaluate(std::string(expression ? expression : ""), property);
|
||||
}
|
||||
|
||||
const std::string& Evaluate(const std::string& expression,
|
||||
const std::string& property)
|
||||
{
|
||||
const std::string& processed =
|
||||
this->cmGeneratorExpressionInterpreter::Evaluate(expression, property);
|
||||
|
||||
Reference in new issue
Block a user