Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Cooker > API/Runtime/CoreUObject/Cooker/FCookDependency
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookDependency.h |
| Include | #include "Cooker/CookDependency.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Cooker/CookDependency.cpp |
static FCookDependency TransitiveBuildAndRuntime
(
FName PackageName
)
Remarks
Create a transitive build dependency on another package. In an incremental cook if the other package was not cooked in a previous cook session, or its previous cook result was invalidated, the current package will also have its cook result invalidated.
This version of the function also adds a runtime dependency - the requested package will be staged for the current platform. Adding a transitive build dependency without adding a runtime dependency is not yet supported due to limitations in the cooker.