mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 07:11:52 +08: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:
@@ -770,10 +770,14 @@ public:
|
|||||||
XCodeGeneratorExpressionInterpreter& operator=(
|
XCodeGeneratorExpressionInterpreter& operator=(
|
||||||
XCodeGeneratorExpressionInterpreter const&) = delete;
|
XCodeGeneratorExpressionInterpreter const&) = delete;
|
||||||
|
|
||||||
using cmGeneratorExpressionInterpreter::Evaluate;
|
|
||||||
|
|
||||||
const std::string& Evaluate(const char* expression,
|
const std::string& Evaluate(const char* expression,
|
||||||
const std::string& property)
|
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 =
|
const std::string& processed =
|
||||||
this->cmGeneratorExpressionInterpreter::Evaluate(expression, property);
|
this->cmGeneratorExpressionInterpreter::Evaluate(expression, property);
|
||||||
|
Reference in New Issue
Block a user