No, basically. Compilation symbols are used for each project in the project settings and for each file depending on the #define pragmas. There is no way to make the project you are compiling to determine your compilation symbols - they disappear after compilation, efficiently.
The easiest way would be to create suitable solution configurations and project configurations within them that define the corresponding characters.
source share