Hi,
is it possible to view sourcecode like the compiler do?
So, I define a few #defines and the code, which isn't used, will be hidden.
For example:
#define DEBUG
...
#ifdef DEBUG
//Do someting
#else if
// This line should be hidden
#endif
...
...
#define SOMETHINGELSE
// These lines should be hidden because the define isn't set
#else
// These lines should be shown
#endif
Thanks
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
is it possible to view sourcecode like the compiler do?
So, I define a few #defines and the code, which isn't used, will be hidden.
For example:
#define DEBUG
...
#ifdef DEBUG
//Do someting
#else if
// This line should be hidden
#endif
...
...
#define SOMETHINGELSE
// These lines should be hidden because the define isn't set
#else
// These lines should be shown
#endif
Thanks
Thomas