๐ Recompilation Helper
Short Description
Utilities to detect and trigger system-wide recompilation when installed systems change.
Long Description
UGorgeousRecompilationHelper is a small runtime helper that inspects installed Gorgeous systems and can trigger the external Gorgeous Installer for a full recompile when required. Typical usage is editor tooling that validates installed systems and ensures native modules are compiled when system set changes.
๐ Features
- Detect whether recompilation is required.
- Trigger the installer & recompilation process.
CheckRecompilationRequirement
Compares the currently active Gorgeous systems against a persisted record from the previous session to determine if a recompilation (installer run) is required.
This function takes no parameters.
if (UGorgeousRecompilationHelper::CheckRecompilationRequirement())
{
// prompt user to run installer
}
TriggerGorgeousRecompilation
Initiates a full re-installation and recompilation flow (may close the editor / engine and re-run the installer depending on platform tooling).
This function takes no parameters.
UGorgeousRecompilationHelper::TriggerGorgeousRecompilation();