mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Rename cmProp in cmValue
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
#include "cmCursesStandardIncludes.h"
|
||||
#include "cmCursesStringWidget.h"
|
||||
#include "cmCursesWidget.h"
|
||||
#include "cmProperty.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmValue.h"
|
||||
#include "cmVersion.h"
|
||||
#include "cmake.h"
|
||||
|
||||
@@ -162,7 +162,7 @@ void cmCursesMainForm::RePost()
|
||||
// If normal mode, count only non-advanced entries
|
||||
this->NumberOfVisibleEntries = 0;
|
||||
for (cmCursesCacheEntryComposite& entry : this->Entries) {
|
||||
cmProp existingValue =
|
||||
cmValue existingValue =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryValue(entry.GetValue());
|
||||
bool advanced =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryPropertyAsBool(
|
||||
@@ -183,7 +183,7 @@ void cmCursesMainForm::RePost()
|
||||
|
||||
// Assign fields
|
||||
for (cmCursesCacheEntryComposite& entry : this->Entries) {
|
||||
cmProp existingValue =
|
||||
cmValue existingValue =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryValue(entry.GetValue());
|
||||
bool advanced =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryPropertyAsBool(
|
||||
@@ -242,7 +242,7 @@ void cmCursesMainForm::Render(int left, int top, int width, int height)
|
||||
// If normal, display only non-advanced entries
|
||||
this->NumberOfVisibleEntries = 0;
|
||||
for (cmCursesCacheEntryComposite& entry : this->Entries) {
|
||||
cmProp existingValue =
|
||||
cmValue existingValue =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryValue(entry.GetValue());
|
||||
bool advanced =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryPropertyAsBool(
|
||||
@@ -260,7 +260,7 @@ void cmCursesMainForm::Render(int left, int top, int width, int height)
|
||||
bool isNewPage;
|
||||
int i = 0;
|
||||
for (cmCursesCacheEntryComposite& entry : this->Entries) {
|
||||
cmProp existingValue =
|
||||
cmValue existingValue =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryValue(entry.GetValue());
|
||||
bool advanced =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryPropertyAsBool(
|
||||
@@ -406,9 +406,9 @@ void cmCursesMainForm::UpdateStatusBar(cm::optional<std::string> message)
|
||||
// Get the help string of the current entry
|
||||
// and add it to the help string
|
||||
auto* cmakeState = this->CMakeInstance->GetState();
|
||||
cmProp existingValue = cmakeState->GetCacheEntryValue(labelValue);
|
||||
cmValue existingValue = cmakeState->GetCacheEntryValue(labelValue);
|
||||
if (existingValue) {
|
||||
cmProp help =
|
||||
cmValue help =
|
||||
cmakeState->GetCacheEntryProperty(labelValue, "HELPSTRING");
|
||||
if (help) {
|
||||
bar += *help;
|
||||
@@ -618,7 +618,7 @@ void cmCursesMainForm::FillCacheManagerFromUI()
|
||||
{
|
||||
for (cmCursesCacheEntryComposite& entry : this->Entries) {
|
||||
const std::string& cacheKey = entry.Key;
|
||||
cmProp existingValue =
|
||||
cmValue existingValue =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryValue(cacheKey);
|
||||
if (existingValue) {
|
||||
std::string oldValue = *existingValue;
|
||||
@@ -804,9 +804,9 @@ void cmCursesMainForm::HandleInput()
|
||||
cmCursesWidget* lbl = reinterpret_cast<cmCursesWidget*>(
|
||||
field_userptr(this->Fields[findex - 2]));
|
||||
const char* curField = lbl->GetValue();
|
||||
cmProp helpString = nullptr;
|
||||
cmValue helpString = nullptr;
|
||||
|
||||
cmProp existingValue =
|
||||
cmValue existingValue =
|
||||
this->CMakeInstance->GetState()->GetCacheEntryValue(curField);
|
||||
if (existingValue) {
|
||||
helpString = this->CMakeInstance->GetState()->GetCacheEntryProperty(
|
||||
|
||||
Reference in New Issue
Block a user