Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro or preprocesor condtional code

In Studio is there any way to exclude code based on a pre-processor set variable?

 

Such as

#ifdef DEBUG
     function my_test_func() { ... }
#endif // DEBUG
     

Author | ch, passion for improvement.

Best Answer
0 Votes
1 REPLY 1

No, I don't think it's possible without customising the build process yourself.

Best Answer
0 Votes