mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
CMake code rely on cmList class for CMake lists management (part. 1)
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
@@ -15,9 +14,9 @@
|
||||
#include "cmCursesPathWidget.h"
|
||||
#include "cmCursesStringWidget.h"
|
||||
#include "cmCursesWidget.h"
|
||||
#include "cmList.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmValue.h"
|
||||
|
||||
@@ -76,7 +75,7 @@ cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(
|
||||
if (stringsProp) {
|
||||
auto ow =
|
||||
cm::make_unique<cmCursesOptionsWidget>(this->EntryWidth, 1, 1, 1);
|
||||
for (std::string const& opt : cmExpandedList(*stringsProp)) {
|
||||
for (auto const& opt : cmList{ *stringsProp }) {
|
||||
ow->AddOption(opt);
|
||||
}
|
||||
ow->SetOption(*value);
|
||||
|
||||
Reference in New Issue
Block a user