How to make a reverse "switch on enum" macro?

Right, it does work! Thanks

But from the CustomNodeProject that you uploaded, how exactly do I compile this plugin for future engine versions so I don’t need to ask here every time a new version is released?