For reasons I need to read the value of the TargetName-Macro from within my code. It has to be a compile time constant. I have taken a look at Reflection.Assembly, but Reflection does not seem to help me as my module is neither the executing assembly, nor would I get a compile time constant from reflection.
Is there any way I can semi-dynamically, e.g. as a pre-built step, use ProjectSettings-Macros in my code later on?