Added: #1440 Entry for runtime dependencies in the depend file

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent 48e6bd4290
commit cce3439b8b

@ -83,6 +83,7 @@ void CFileDepend::serial(NLMISC::IStream &stream) throw (NLMISC::EStream)
uint version = stream.serialVersion(1); uint version = stream.serialVersion(1);
stream.serial(CRC32); stream.serial(CRC32);
stream.serialCont(Dependencies); stream.serialCont(Dependencies);
stream.serialCont(RuntimeDependencies);
} }
void CProcessResult::CFileResult::serial(NLMISC::IStream &stream) throw (NLMISC::EStream) void CProcessResult::CFileResult::serial(NLMISC::IStream &stream) throw (NLMISC::EStream)

@ -113,6 +113,7 @@ public:
void serial(NLMISC::IStream &stream) throw (NLMISC::EStream); void serial(NLMISC::IStream &stream) throw (NLMISC::EStream);
}; };
std::vector<CDependency> Dependencies; std::vector<CDependency> Dependencies;
std::vector<CDependency> RuntimeDependencies; // informational
void serial(NLMISC::IStream &stream) throw (NLMISC::EStream); void serial(NLMISC::IStream &stream) throw (NLMISC::EStream);
}; };

@ -922,7 +922,7 @@ public:
if (!CDatabaseStatus::updateFileStatus(metaStatus, path)) if (!CDatabaseStatus::updateFileStatus(metaStatus, path))
{ {
m_SubTaskResult = FINISH_ERROR; m_SubTaskResult = FINISH_ERROR;
m_SubTaskErrorMessage = std::string("Could not get status for output file '") + path + "'"; m_SubTaskErrorMessage = std::string("Could not get status for output file ', this should never happen at all, coding error") + path + "'";
return false; // Error, cannot rebuild. return false; // Error, cannot rebuild.
} }
else else

Loading…
Cancel
Save