Although this should be impossible due to the fact that #define is a preprocessor directive, I would like to ask:
Is it possible to get a list of #define 'd variables in a real program? Accordingly, a list of conditional compilation symbols defined in the project properties.
Why do I need it? I manage extensions using characters. I am trying to get a list of them to add them to my window, for example
Enabled Extensions: CUSTOMER1_ABC_EXTENSION CUSTOMER2_XYZ_EXTENSION
Without writing specific code for each extension.
source share