mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Rename cmProp in cmValue
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
#include "cmCommandArgumentLexer.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmProperty.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmValue.h"
|
||||
|
||||
int cmCommandArgument_yyparse(yyscan_t yyscanner);
|
||||
//
|
||||
@@ -73,7 +73,8 @@ const char* cmCommandArgumentParserHelper::ExpandSpecialVariable(
|
||||
return "";
|
||||
}
|
||||
if (strcmp(key, "CACHE") == 0) {
|
||||
if (cmProp c = this->Makefile->GetState()->GetInitializedCacheValue(var)) {
|
||||
if (cmValue c =
|
||||
this->Makefile->GetState()->GetInitializedCacheValue(var)) {
|
||||
if (this->EscapeQuotes) {
|
||||
return this->AddString(cmEscapeQuotes(*c));
|
||||
}
|
||||
@@ -103,7 +104,7 @@ const char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
|
||||
}
|
||||
return this->AddString(line);
|
||||
}
|
||||
cmProp value = this->Makefile->GetDefinition(var);
|
||||
cmValue value = this->Makefile->GetDefinition(var);
|
||||
if (!value) {
|
||||
this->Makefile->MaybeWarnUninitialized(var, this->FileName);
|
||||
if (!this->RemoveEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user