How to know all the conditional defines in a project

我只是一个虾纸丫 提交于 2019-12-11 07:28:10

问题


How it is possible to see all the conditional defines for a Delphi project?

I can define something in project options, but there are some "defaults" and I don't know where to look for. Can you help?


回答1:


Here are the sources of conditional definitions that I can think of:

  1. The pre-defined conditionals.
  2. The conditionals specified in the project options.
  3. The conditionals specified at the command line.
  4. The conditionals specified in the source code (often in .inc files).

Now, I think you are asking about item 1 on this list, the pre-defined conditionals. The Delphi documentation has a comprehensive lists of these:

  • Predefined Conditionals.
  • Compiler Versions.


来源:https://stackoverflow.com/questions/9130305/how-to-know-all-the-conditional-defines-in-a-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!