Can cook read different config files for shipping or development build.

EarlyWaker
Fri, 19 Jan 2024 09:13:32 +0000
Programming & Scripting

In the cook process of UnrealEngine, UE seems to always use UnrealEditor-Cmd.exe to run cook commandlet, which is build in development. But sometimes, I want to cook different packages between development build and shipping build, how can I tell UnrealEditor-Cmd.exe to read different config file for the cook process, and cook different packages.
Becaues in reality, the development build configuration is often used for internal testing so the development package may have some testing assets in it. But the shipping build configuration is often used for the release, and it shouldn’t have any testing assets.