mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 14:50:15 -05:00
BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722.
This commit is contained in:
@@ -59,6 +59,7 @@ public:
|
||||
|
||||
char* ExpandSpecialVariable(const char* key, const char* var);
|
||||
char* ExpandVariable(const char* var);
|
||||
char* ExpandVariableForAt(const char* var);
|
||||
void SetResult(const char* value);
|
||||
|
||||
void SetMakefile(const cmMakefile* mf);
|
||||
@@ -68,6 +69,7 @@ public:
|
||||
void SetLineFile(long line, const char* file);
|
||||
void SetEscapeQuotes(bool b) { this->EscapeQuotes = b; }
|
||||
void SetNoEscapeMode(bool b) { this->NoEscapeMode = b; }
|
||||
void SetReplaceAtSyntax(bool b) { this->ReplaceAtSyntax = b; }
|
||||
|
||||
const char* GetError() { return this->ErrorString.c_str(); }
|
||||
char EmptyVariable[1];
|
||||
@@ -101,6 +103,7 @@ private:
|
||||
bool EscapeQuotes;
|
||||
std::string ErrorString;
|
||||
bool NoEscapeMode;
|
||||
bool ReplaceAtSyntax;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user