|
|
@@ -94,6 +94,8 @@ struct cmState::BuildsystemDirectoryStateType
|
|
|
std::vector<std::string> CompileOptions;
|
|
|
std::vector<cmListFileBacktrace> CompileOptionsBacktraces;
|
|
|
|
|
|
+ std::vector<std::string> NormalTargetNames;
|
|
|
+
|
|
|
std::string ProjectName;
|
|
|
|
|
|
cmPropertyMap Properties;
|
|
|
@@ -324,6 +326,7 @@ cmState::Snapshot cmState::Reset()
|
|
|
it->CompileOptions.clear();
|
|
|
it->CompileOptionsBacktraces.clear();
|
|
|
it->DirectoryEnd = pos;
|
|
|
+ it->NormalTargetNames.clear();
|
|
|
it->Properties.clear();
|
|
|
it->Children.clear();
|
|
|
}
|
|
|
@@ -1733,6 +1736,11 @@ std::vector<std::string> cmState::Directory::GetPropertyKeys() const
|
|
|
return keys;
|
|
|
}
|
|
|
|
|
|
+void cmState::Directory::AddNormalTargetName(std::string const& name)
|
|
|
+{
|
|
|
+ this->DirectoryState->NormalTargetNames.push_back(name);
|
|
|
+}
|
|
|
+
|
|
|
bool operator==(const cmState::Snapshot& lhs, const cmState::Snapshot& rhs)
|
|
|
{
|
|
|
return lhs.Position == rhs.Position;
|