I wrote a UHT exporter plugin (using [UhtExporter] attribute) that generates some extra code which needs to be compiled (and linked with the program statically).
Is there a callback for when I can compile it? I need to do so after UHT runs, but before UBT’s linking steps begin.
I can’t put this code at the end of the exporter, because the exporter might altogether not run, in case no headers are updated, but I still need to compile my extra generated code (because one of its dependencies might have been updated by the user).
I also can’t put this code in a PreBuildSteps array, because that code runs before UHT exporters do.