问题
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:
- The pre-defined conditionals.
- The conditionals specified in the project options.
- The conditionals specified at the command line.
- 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