Hey #UnrealEngine code plugin devs, I'm releasing the code I use for my plugins to make #UE4 & #UE5 support a lot easier.
https://github.com/sbseltzer/VersionMacros
Includes better macros for checking engine version and automatic prebuild scripts to work around the preprocessor limitations in UnrealHeaderTool, allowing you to `#if` out blocks of code that contain Unreal "magic macros". This allows you to maintain backwards compatibility without forsaking modern Unreal features. Includes installation instructions and examples of using it.
Feedback is appreciated! I'd also appreciate Linux users to verify it works for them.
#GameDev #UnrealEngine4 #UnrealEngine5 #UnrealDev #IndieGameDev #IndieDev #Programming #CPP