I want to compile a project differently, according to a constant defined by #define, like this:
#define USE_COMPONENT_X
#if USE_COMPONENT_X
...
#endif
and I can do that in C#. But when I go to another file in the same project, this constant is not defined. Can I in some way define a constant to all the project, like DEBUG is defined so?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…