How do I set a conditional compile variable?

前端 未结 3 781
情歌与酒
情歌与酒 2020-12-04 15:29

In C/C++ you can define macros in code like this:

#define OLD_WAY  1

Although I\'ve never done it, I assume that the same thing is availabl

3条回答
  •  情歌与酒
    2020-12-04 16:14

    Open your project properties and look at the Build page. There is a box called Conditional compilation symbols:

提交回复
热议问题