mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
CMake code rely on cmList class for CMake lists management (part. 1)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmList.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
@@ -126,7 +127,7 @@ void cmExportTryCompileFileGenerator::PopulateProperties(
|
||||
std::string evalResult =
|
||||
this->FindTargets(p, target, std::string(), emitted);
|
||||
|
||||
std::vector<std::string> depends = cmExpandedList(evalResult);
|
||||
cmList depends{ evalResult };
|
||||
for (std::string const& li : depends) {
|
||||
cmGeneratorTarget* tgt =
|
||||
target->GetLocalGenerator()->FindGeneratorTargetToUse(li);
|
||||
|
||||
Reference in New Issue
Block a user